diff options
Diffstat (limited to 'config/autoconfigbackup/autoconfigbackup_backup.php')
-rw-r--r-- | config/autoconfigbackup/autoconfigbackup_backup.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/autoconfigbackup/autoconfigbackup_backup.php b/config/autoconfigbackup/autoconfigbackup_backup.php index 78677049..7a6b045f 100644 --- a/config/autoconfigbackup/autoconfigbackup_backup.php +++ b/config/autoconfigbackup/autoconfigbackup_backup.php @@ -49,7 +49,7 @@ if($_POST) { write_config("Backup invoked via Auto Config Backup."); $config = parse_config(true); conf_mount_rw(); - file_put_contents("/cf/conf/lastpfSbackup.txt", ""); + @unlink("/cf/conf/lastpfSbackup.txt", ""); conf_mount_ro(); upload_config($_REQUEST['reason']); $savemsg = "Backup completed successfully."; |