aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/admin/admin_disallow.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/admin/admin_disallow.php')
-rw-r--r--phpBB/admin/admin_disallow.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/admin/admin_disallow.php b/phpBB/admin/admin_disallow.php
index 78dfbd3f7b..4efcd2f3e9 100644
--- a/phpBB/admin/admin_disallow.php
+++ b/phpBB/admin/admin_disallow.php
@@ -33,8 +33,9 @@ if( !empty($setmodules) )
//
// Include required files, get $phpEx and check permissions
//
-$phpbb_root_dir = './../';
-require('pagestart.inc');
+$phpbb_root_path = "../";
+require($phpbb_root_path . 'extension.inc');
+require('pagestart.' . $phpEx);
if( isset($HTTP_POST_VARS['add_name']) )
{