From fa1c284cd6fb9e61ae6a4516606bf00512d20c6a Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 8 Dec 2008 03:12:27 +0000 Subject: Reset lastpfSbackup.txt before force backup --- packages/autoconfigbackup/autoconfigbackup_backup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/autoconfigbackup/autoconfigbackup_backup.php b/packages/autoconfigbackup/autoconfigbackup_backup.php index 44d213ea..9b083a24 100644 --- a/packages/autoconfigbackup/autoconfigbackup_backup.php +++ b/packages/autoconfigbackup/autoconfigbackup_backup.php @@ -68,9 +68,9 @@ if($_POST) { write_config($_REQUEST['reason']); else write_config("Backup invoked via Auto Config Backup."); + exec("echo > /cf/conf/lastpfSbackup.txt"); upload_config(); $savemsg = "Backup completed successfully."; - exec("echo > /cf/conf/lastpfSbackup.txt"); $donotshowheader=true; } -- cgit v1.2.3