|
|
@ -140,6 +140,7 @@ class rcube_install
|
|
|
|
return '[Warning: could not read the config template file]';
|
|
|
|
return '[Warning: could not read the config template file]';
|
|
|
|
|
|
|
|
|
|
|
|
foreach ($this->config as $prop => $default) {
|
|
|
|
foreach ($this->config as $prop => $default) {
|
|
|
|
|
|
|
|
|
|
|
|
$value = (isset($_POST["_$prop"]) || $this->bool_config_props[$prop]) ? $_POST["_$prop"] : $default;
|
|
|
|
$value = (isset($_POST["_$prop"]) || $this->bool_config_props[$prop]) ? $_POST["_$prop"] : $default;
|
|
|
|
|
|
|
|
|
|
|
|
// convert some form data
|
|
|
|
// convert some form data
|
|
|
@ -195,7 +196,7 @@ class rcube_install
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// skip this property
|
|
|
|
// skip this property
|
|
|
|
if (!$force && ($value == $default))
|
|
|
|
if (!$force && !$this->configured && ($value == $default))
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
|
|
|
|
|
|
|
|
// save change
|
|
|
|
// save change
|
|
|
|