interface/web/admin/server_config_edit.php
@@ -71,11 +71,12 @@ } function onUpdateSave($sql) { global $app; global $app,$conf; if($_SESSION["s"]["user"]["typ"] != 'admin') die('This function needs admin priveliges'); $app->uses('ini_parser,getconf'); if($conf['demo_mode'] != true) { $section = $app->tform->getCurrentTab(); $server_id = $this->id; @@ -85,6 +86,7 @@ $app->db->datalogUpdate('server', "config = '".$app->db->quote($server_config_str)."'", 'server_id', $server_id); } } }