Unreported: $phpbb_root_path not set and kicking unneeded $phpEx check out, thanks to Dave for pointing this out! http://www.phpbb.de/viewtopic.php?p=983217#983217

This commit is contained in:
Kevin
2008-04-20 21:28:59 +00:00
parent d7fe5a2b97
commit 68cea4af30

View File

@@ -20,9 +20,7 @@ class acp_portal
global $db, $user, $template;
global $config, $portal_config, $phpbb_root_path, $phpbb_admin_path, $phpEx;
$phpEx = (empty($phpEx)) ? substr(strrchr(__FILE__, '.'), 1) : $phpEx;
require '../portal/includes/functions.'.$phpEx;
include($phpbb_root_path . 'portal/includes/functions.' . $phpEx);
$portal_config = obtain_portal_config();