diff --git a/src/API/ServerAPI.php b/src/API/ServerAPI.php index 263809d28..edffeb1fd 100644 --- a/src/API/ServerAPI.php +++ b/src/API/ServerAPI.php @@ -446,9 +446,11 @@ class ServerAPI{ return ($this->config->exists($name) ? $this->config->get($name):$default); } - public function setProperty($name, $value){ + public function setProperty($name, $value, $save = true){ $this->config->set($name, $value); - $this->writeProperties(); + if($save == true){ + $this->writeProperties(); + } $this->loadProperties(); }