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:
Marc Alexander
2010-11-30 09:01:57 +00:00
parent 3c4285a504
commit c196b2b0c5
29 changed files with 1173 additions and 182 deletions

View File

@@ -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));
}