diff options
-rw-r--r-- | etc/inc/config.lib.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/config.lib.inc b/etc/inc/config.lib.inc index 83d5ed2..c1672e2 100644 --- a/etc/inc/config.lib.inc +++ b/etc/inc/config.lib.inc @@ -571,6 +571,9 @@ function config_restore($conffile) { backup_config(); + // backup_config() will mount RO again when finished. + conf_mount_rw(); + $lockkey = lock('config'); copy($conffile, "{$g['cf_conf_path']}/config.xml"); |