mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
git-svn-id: file:///svn/phpbb/trunk@8616 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -582,7 +582,7 @@ class install_convert extends module
|
|||||||
function convert_data($sub)
|
function convert_data($sub)
|
||||||
{
|
{
|
||||||
global $template, $user, $db, $lang, $config, $cache;
|
global $template, $user, $db, $lang, $config, $cache;
|
||||||
global $convert, $convert_row, $message_parser, $skip_rows;
|
global $convert, $convert_row, $message_parser, $skip_rows, $language;
|
||||||
|
|
||||||
require(PHPBB_ROOT_PATH . 'config.' . PHP_EXT);
|
require(PHPBB_ROOT_PATH . 'config.' . PHP_EXT);
|
||||||
require(PHPBB_ROOT_PATH . 'includes/constants.' . PHP_EXT);
|
require(PHPBB_ROOT_PATH . 'includes/constants.' . PHP_EXT);
|
||||||
@@ -613,7 +613,7 @@ class install_convert extends module
|
|||||||
// Set up a user as well. We _should_ have enough of a database here at this point to do this
|
// Set up a user as well. We _should_ have enough of a database here at this point to do this
|
||||||
// and it helps for any core code we call
|
// and it helps for any core code we call
|
||||||
$user->session_begin();
|
$user->session_begin();
|
||||||
$user->page = $user->extract_current_page(PHPBB_ROOT_PATH);
|
$user->page = session::extract_current_page(PHPBB_ROOT_PATH);
|
||||||
|
|
||||||
// This is a little bit of a fudge, but it allows the language entries to be available to the
|
// This is a little bit of a fudge, but it allows the language entries to be available to the
|
||||||
// core code without us loading them again
|
// core code without us loading them again
|
||||||
|
Reference in New Issue
Block a user