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:
@@ -20,9 +20,7 @@ class acp_portal
|
|||||||
global $db, $user, $template;
|
global $db, $user, $template;
|
||||||
global $config, $portal_config, $phpbb_root_path, $phpbb_admin_path, $phpEx;
|
global $config, $portal_config, $phpbb_root_path, $phpbb_admin_path, $phpEx;
|
||||||
|
|
||||||
$phpEx = (empty($phpEx)) ? substr(strrchr(__FILE__, '.'), 1) : $phpEx;
|
include($phpbb_root_path . 'portal/includes/functions.' . $phpEx);
|
||||||
|
|
||||||
require '../portal/includes/functions.'.$phpEx;
|
|
||||||
|
|
||||||
$portal_config = obtain_portal_config();
|
$portal_config = obtain_portal_config();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user