|
@@ -115,13 +115,16 @@ if (empty($_configuration['statistics_database']) && $already_installed) {
|
|
|
global $database_connection;
|
|
|
|
|
|
|
|
|
+$dbPersistConnection = api_get_configuration_value('db_persistent_connection');
|
|
|
+
|
|
|
$params = array(
|
|
|
- 'server' => $_configuration['db_host'],
|
|
|
- 'username' => $_configuration['db_user'],
|
|
|
- 'password' => $_configuration['db_password'],
|
|
|
- 'persistent' => $_configuration['db_persistent_connection']
|
|
|
+ 'server' => $_configuration['db_host'],
|
|
|
+ 'username' => $_configuration['db_user'],
|
|
|
+ 'password' => $_configuration['db_password'],
|
|
|
+ 'persistent' => $dbPersistConnection
|
|
|
);
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
|
|
|
if (isset($_configuration['db_client_flags']) && !empty($_configuration['db_client_flags'])) {
|
|
|
$params['client_flags'] = $_configuration['db_client_flags'];
|