aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/convertors/convert_phpbb20.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-06-29 21:58:17 +0200
committerTristan Darricau <github@nicofuma.fr>2014-07-07 01:02:40 +0200
commited812a9dfb59b1eb83263adbaa52723ff826a791 (patch)
treec75d2136fa2486fb994dbddb8b7fa88401237e44 /phpBB/install/convertors/convert_phpbb20.php
parent98e8be966bd8174c2a3f4e8fb80167b23573441f (diff)
downloadforums-ed812a9dfb59b1eb83263adbaa52723ff826a791.tar
forums-ed812a9dfb59b1eb83263adbaa52723ff826a791.tar.gz
forums-ed812a9dfb59b1eb83263adbaa52723ff826a791.tar.bz2
forums-ed812a9dfb59b1eb83263adbaa52723ff826a791.tar.xz
forums-ed812a9dfb59b1eb83263adbaa52723ff826a791.zip
[ticket/12775] Move phpbb_convert_30_dbms_to_31 into the config file class
PHPBB3-12775
Diffstat (limited to 'phpBB/install/convertors/convert_phpbb20.php')
-rw-r--r--phpBB/install/convertors/convert_phpbb20.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/install/convertors/convert_phpbb20.php b/phpBB/install/convertors/convert_phpbb20.php
index 6b6eabe57d..4c6fa46190 100644
--- a/phpBB/install/convertors/convert_phpbb20.php
+++ b/phpBB/install/convertors/convert_phpbb20.php
@@ -25,10 +25,11 @@ if (!defined('IN_PHPBB'))
exit;
}
-include($phpbb_root_path . 'config.' . $phpEx);
+$phpbb_config_php_file = new \phpbb\config_php_file($phpbb_root_path, $phpEx);
+extract($phpbb_config_php_file->get_all());
unset($dbpasswd);
-$dbms = phpbb_convert_30_dbms_to_31($dbms);
+$dbms = $phpbb_config_php_file->convert_30_dbms_to_31($dbms);
/**
* $convertor_data provides some basic information about this convertor which is