aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/install/index.php')
-rwxr-xr-xphpBB/install/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php
index 08e937f4cc..d2a806014d 100755
--- a/phpBB/install/index.php
+++ b/phpBB/install/index.php
@@ -15,7 +15,7 @@ define('IN_PHPBB', true);
define('IN_INSTALL', true);
/**#@-*/
-$phpbb_root_path = './../';
+$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './../';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
// Report all errors, except notices