mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
deleting the constructor means refining the init call. ;)
git-svn-id: file:///svn/phpbb/trunk@4120 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -184,7 +184,8 @@ $user = new user();
|
||||
$auth = new auth();
|
||||
$cache = new acm();
|
||||
$template = new template();
|
||||
$db = new sql_db($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false);
|
||||
$db = new sql_db();
|
||||
$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false);
|
||||
|
||||
// Grab global variables, re-cache if necessary
|
||||
if ($config = $cache->get('config'))
|
||||
|
Reference in New Issue
Block a user