From a156e31f0cf3c2b644d6283b54a4f10e6a43b6e2 Mon Sep 17 00:00:00 2001 From: Henry Sudhof Date: Thu, 5 Jun 2008 11:35:43 +0000 Subject: [PATCH] minor constant fix, won't make it work git-svn-id: file:///svn/phpbb/trunk@8607 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/adm/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;