File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 287287 */
288288updateDbAndIni ();
289289
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+
290295/*
291296 * Reconfigure the permisson if needed
292297 * (if this is done at client side, only this client is updated.
428433 $ inst ->configure_nginx ();
429434 }
430435
431- if ($ conf ['web ' ]['apps_vhost_enabled ' ] == 'y ' ) {
436+ if ($ conf ['server_config ' ][ ' web ' ]['apps_vhost_enabled ' ] == 'y ' ) {
432437 //** Configure apps vhost
433438 swriteln ('Configuring Apps vhost ' );
434439 $ inst ->configure_apps_vhost ();
You can’t perform that action at this time.
0 commit comments