aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.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/posting.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/posting.php')
-rw-r--r--phpBB/posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 11cce9a451..7fa97be4c5 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.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);
include($phpbb_root_path . 'includes/functions_posting.' . $phpEx);