Why the option $config [' db] [' persistent '] is not used?
Any problems are connected with it or have simply forgotten it to add in a code?
Version 1.0.4 library/Xenforo/Application.php
Version 1.1.0 Beta 4 library/Xenforo/Application.php
Also what for an option adapterNamespace?
Any problems are connected with it or have simply forgotten it to add in a code?
Version 1.0.4 library/Xenforo/Application.php
PHP:
public function loadDb(Zend_Config $dbConfig)
{
$db = Zend_Db::factory($dbConfig->adapter,
array(
'host' => $dbConfig->host,
'port' => $dbConfig->port,
'username' => $dbConfig->username,
'password' => $dbConfig->password,
'dbname' => $dbConfig->dbname,
'charset' => 'utf8'
)
);
PHP:
public function loadDb(Zend_Config $dbConfig)
{
$db = Zend_Db::factory($dbConfig->adapter,
array(
'host' => $dbConfig->host,
'port' => $dbConfig->port,
'username' => $dbConfig->username,
'password' => $dbConfig->password,
'dbname' => $dbConfig->dbname,
'adapterNamespace' => $dbConfig->adapterNamespace,
'charset' => 'utf8'
)
);
Also what for an option adapterNamespace?