We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c028f1b commit bc55aadCopy full SHA for bc55aad
1 file changed
install/update.php
@@ -287,6 +287,11 @@
287
*/
288
updateDbAndIni();
289
290
+//** read server config from db into $conf['server_config']
291
+$tmp = $inst->db->queryOneRecord("SELECT config FROM ?? WHERE server_id = ?", $conf["mysql"]["database"] . '.server', $conf['server_id']);
292
+$conf['server_config'] = ini_to_array(stripslashes($tmp['config']));
293
+unset($tmp);
294
+
295
/*
296
* Reconfigure the permisson if needed
297
* (if this is done at client side, only this client is updated.
@@ -428,7 +433,7 @@
428
433
$inst->configure_nginx();
429
434
}
430
435
431
- if ($conf['web']['apps_vhost_enabled'] == 'y') {
436
+ if ($conf['server_config']['web']['apps_vhost_enabled'] == 'y') {
432
437
//** Configure apps vhost
438
swriteln('Configuring Apps vhost');
439
$inst->configure_apps_vhost();
0 commit comments