aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/ucp.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-07-26 15:51:11 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-07-26 15:51:11 +0000
commita43ead8ee7db832871db9cd2c4f294108398f4b0 (patch)
tree417710b9e382752ac1f815633e67f73cdc7e3fe0 /phpBB/ucp.php
parent599a5964c064978b15653b05c4709f2c72943bb2 (diff)
downloadforums-a43ead8ee7db832871db9cd2c4f294108398f4b0.tar
forums-a43ead8ee7db832871db9cd2c4f294108398f4b0.tar.gz
forums-a43ead8ee7db832871db9cd2c4f294108398f4b0.tar.bz2
forums-a43ead8ee7db832871db9cd2c4f294108398f4b0.tar.xz
forums-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-xphpBB/ucp.php2
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);