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 a65fba4d..9ef752fa 100644 --- a/config/autoconfigbackup/autoconfigbackup_backup.php +++ b/config/autoconfigbackup/autoconfigbackup_backup.php @@ -48,7 +48,7 @@ if($_POST) { else write_config("Backup invoked via Auto Config Backup."); $config = parse_config(true); - exec("echo > /cf/conf/lastpfSbackup.txt"); + file_put_contents("/cf/conf/lastpfSbackup.txt", ""); upload_config($_REQUEST['reason']); $savemsg = "Backup completed successfully."; $donotshowheader=true; |