Code: Select all
$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false, false);
Code: Select all
$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, true, true);
[code]
?
Setting the newlink to false, kind of ruins integration with other applications, as phpbb3 "hijacks" the MySQL connecton.
Is it possible to change it to:
[code]
$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, true, false);
[code]
Or even better, make the persistant and newlink part of the connection configurable in config.php for advanced users? :)