diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2007-02-05 16:24:15 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-02-05 16:24:15 +0000 |
| commit | 10f775cb1cc44b083373543a6c08214d1dd291f0 (patch) | |
| tree | 1ed940936c9433e25a8993875b62d78632207e31 /phpBB/install | |
| parent | 1d12ca12b3cf828c0857a8678bda2a81d51fd58c (diff) | |
| download | forums-10f775cb1cc44b083373543a6c08214d1dd291f0.tar forums-10f775cb1cc44b083373543a6c08214d1dd291f0.tar.gz forums-10f775cb1cc44b083373543a6c08214d1dd291f0.tar.bz2 forums-10f775cb1cc44b083373543a6c08214d1dd291f0.tar.xz forums-10f775cb1cc44b083373543a6c08214d1dd291f0.zip | |
only some minor fixes
git-svn-id: file:///svn/phpbb/trunk@6969 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install')
| -rw-r--r-- | phpBB/install/install_convert.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/phpBB/install/install_convert.php b/phpBB/install/install_convert.php index 9a5177c941..0750bfa4f6 100644 --- a/phpBB/install/install_convert.php +++ b/phpBB/install/install_convert.php @@ -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) { |
