aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/admin/admin_disallow.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-03-22 17:00:33 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-03-22 17:00:33 +0000
commitf0e4a8a4e4124f25a502219fe0e3da7aef5c1ee4 (patch)
treee8eef954971db13d1a198af737a7ed9ede51d243 /phpBB/admin/admin_disallow.php
parent42e30320e4cfc76229f3022954eda0b9fd2e4b13 (diff)
downloadforums-f0e4a8a4e4124f25a502219fe0e3da7aef5c1ee4.tar
forums-f0e4a8a4e4124f25a502219fe0e3da7aef5c1ee4.tar.gz
forums-f0e4a8a4e4124f25a502219fe0e3da7aef5c1ee4.tar.bz2
forums-f0e4a8a4e4124f25a502219fe0e3da7aef5c1ee4.tar.xz
forums-f0e4a8a4e4124f25a502219fe0e3da7aef5c1ee4.zip
Fix problem with user_admin not showing correct status for certain settings + switch to same include series as main files
git-svn-id: file:///svn/phpbb/trunk@2397 89ea8834-ac86-4346-8a33-228a782c2dd0
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']) )
{