aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewonline.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/viewonline.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/viewonline.php')
-rw-r--r--phpBB/viewonline.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php
index 65317b228c..f25afea1eb 100644
--- a/phpBB/viewonline.php
+++ b/phpBB/viewonline.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);
include($phpbb_root_path . 'common.' . $phpEx);