aboutsummaryrefslogtreecommitdiffstats
path: root/packages/autoconfigbackup/autoconfigbackup_backup.php
diff options
context:
space:
mode:
Diffstat (limited to 'packages/autoconfigbackup/autoconfigbackup_backup.php')
-rw-r--r--packages/autoconfigbackup/autoconfigbackup_backup.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup_backup.php b/packages/autoconfigbackup/autoconfigbackup_backup.php
index 9b083a24..cebd7a56 100644
--- a/packages/autoconfigbackup/autoconfigbackup_backup.php
+++ b/packages/autoconfigbackup/autoconfigbackup_backup.php
@@ -68,8 +68,9 @@ if($_POST) {
write_config($_REQUEST['reason']);
else
write_config("Backup invoked via Auto Config Backup.");
+ $config = parse_config(true);
exec("echo > /cf/conf/lastpfSbackup.txt");
- upload_config();
+ upload_config($_REQUEST['reason']);
$savemsg = "Backup completed successfully.";
$donotshowheader=true;
}