mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
only some minor fixes
git-svn-id: file:///svn/phpbb/trunk@6969 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -196,8 +196,14 @@ class install_convert extends module
|
||||
// This is for making sure the session get not screwed due to the 3.0.x users table being completely new.
|
||||
$cache->purge();
|
||||
|
||||
// Make sure this session gets killed
|
||||
$user->session_kill();
|
||||
require($phpbb_root_path . 'config.' . $phpEx);
|
||||
require($phpbb_root_path . 'includes/constants.' . $phpEx);
|
||||
require($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);
|
||||
require($phpbb_root_path . 'includes/functions_convert.' . $phpEx);
|
||||
|
||||
$db = new $sql_db();
|
||||
$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false);
|
||||
unset($dbpasswd);
|
||||
|
||||
switch ($db->sql_layer)
|
||||
{
|
||||
|
Reference in New Issue
Block a user