aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2008-06-05 11:35:43 +0000
committerHenry Sudhof <kellanved@phpbb.com>2008-06-05 11:35:43 +0000
commita156e31f0cf3c2b644d6283b54a4f10e6a43b6e2 (patch)
tree69133a458902158e8873a8099b45c6332151d749 /phpBB
parent443ec9dcb06755eb4ee758bb34e2e7ea72c051ae (diff)
downloadforums-a156e31f0cf3c2b644d6283b54a4f10e6a43b6e2.tar
forums-a156e31f0cf3c2b644d6283b54a4f10e6a43b6e2.tar.gz
forums-a156e31f0cf3c2b644d6283b54a4f10e6a43b6e2.tar.bz2
forums-a156e31f0cf3c2b644d6283b54a4f10e6a43b6e2.tar.xz
forums-a156e31f0cf3c2b644d6283b54a4f10e6a43b6e2.zip
minor constant fix, won't make it work
git-svn-id: file:///svn/phpbb/trunk@8607 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/adm/index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/adm/index.php b/phpBB/adm/index.php
index 819e4a1a8f..35ea7e12e7 100644
--- a/phpBB/adm/index.php
+++ b/phpBB/adm/index.php
@@ -17,6 +17,8 @@ define('NEED_SID', true);
// Include files
if (!defined('PHPBB_ROOT_PATH')) define('PHPBB_ROOT_PATH', './../');
if (!defined('PHP_EXT')) define('PHP_EXT', substr(strrchr(__FILE__, '.'), 1));
+if (!defined('PHPBB_ADMIN_PATH')) define('PHPBB_ADMIN_PATH', './');
+
include(PHPBB_ROOT_PATH . 'common.' . PHP_EXT);
require(PHPBB_ROOT_PATH . 'includes/functions_admin.' . PHP_EXT);
require(PHPBB_ROOT_PATH . 'includes/functions_module.' . PHP_EXT);
@@ -46,7 +48,6 @@ if (!$auth->acl_get('a_'))
// We define the admin variables now, because the user is now able to use the admin related features...
define('IN_ADMIN', true);
-if (!defined('PHPBB_ADMIN_PATH')) define('PHPBB_ADMIN_PATH', './');
// Some oft used variables
$safe_mode = (@ini_get('safe_mode') == '1' || strtolower(@ini_get('safe_mode')) === 'on') ? true : false;