diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-07-26 15:51:11 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-07-26 15:51:11 +0000 |
commit | a43ead8ee7db832871db9cd2c4f294108398f4b0 (patch) | |
tree | 417710b9e382752ac1f815633e67f73cdc7e3fe0 /phpBB/ucp.php | |
parent | we do not have such a constant. :P (diff) | |
download | phpbb-a43ead8ee7db832871db9cd2c4f294108398f4b0.tar.gz phpbb-a43ead8ee7db832871db9cd2c4f294108398f4b0.tar.bz2 phpbb-a43ead8ee7db832871db9cd2c4f294108398f4b0.zip |
do not get too excited
git-svn-id: file:///svn/phpbb/trunk@7954 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/ucp.php')
-rwxr-xr-x | phpBB/ucp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/ucp.php b/phpBB/ucp.php index e3b665db2b..fcb9c9ec71 100755 --- a/phpBB/ucp.php +++ b/phpBB/ucp.php @@ -12,7 +12,7 @@ * @ignore */ define('IN_PHPBB', true); -$phpbb_root_path = './'; +$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); require($phpbb_root_path . 'common.' . $phpEx); require($phpbb_root_path . 'includes/functions_user.' . $phpEx); |