Added module language files to German language folder -- still need to be translated;
Fixed undefined error in acp_portal.php caused by old code; Fixed undefined error in portal.php if Portal is accessed after it has been uninstalled -- now it redirects to Index;
This commit is contained in:
@@ -29,7 +29,11 @@ $user->session_begin();
|
||||
$auth->acl($user->data);
|
||||
$user->setup('mods/portal');
|
||||
|
||||
if (!$config['board3_enable'])
|
||||
/*
|
||||
* Make sure we do an isset first,
|
||||
* else we will get errors if someone uninstalls the portal and forgets to remove portal.php
|
||||
*/
|
||||
if (!isset($config['board3_enable']) || !$config['board3_enable'])
|
||||
{
|
||||
redirect(reapply_sid($phpbb_root_path . 'index.' . $phpEx));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user