From 96948b010ce47a8a5e1f00994dafacb8c31ca70e Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Tue, 29 Jul 2008 15:05:31 +0000 Subject: [PATCH] erm, yeah git-svn-id: file:///svn/phpbb/trunk@8721 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/develop/mysql_upgrader.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/phpBB/develop/mysql_upgrader.php b/phpBB/develop/mysql_upgrader.php index e60f327ab5..ffe534a934 100644 --- a/phpBB/develop/mysql_upgrader.php +++ b/phpBB/develop/mysql_upgrader.php @@ -21,8 +21,9 @@ die("Please read the first lines of this script for instructions on how to enable it"); define('IN_PHPBB', true); -$phpEx = substr(strrchr(__FILE__, '.'), 1); -include($phpbb_root_path . 'common.' . $phpEx); +define('PHPBB_ROOT_PATH', './../'); +define('PHP_EXT', substr(strrchr(__FILE__, '.'), 1)); +include(PHPBB_ROOT_PATH . 'common.' . PHP_EXT); $prefix = $table_prefix;