aboutsummaryrefslogtreecommitdiffstats
path: root/packages/autoconfigbackup/autoconfigbackup_backup.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-12-08 03:16:43 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-12-08 03:16:43 +0000
commit731bc6d44b9ddaa13ee248e5d49f69fb30c02668 (patch)
tree669867448339458054b82a80ea1a366204622076 /packages/autoconfigbackup/autoconfigbackup_backup.php
parentfa1c284cd6fb9e61ae6a4516606bf00512d20c6a (diff)
downloadpfsense-packages-731bc6d44b9ddaa13ee248e5d49f69fb30c02668.tar.gz
pfsense-packages-731bc6d44b9ddaa13ee248e5d49f69fb30c02668.tar.bz2
pfsense-packages-731bc6d44b9ddaa13ee248e5d49f69fb30c02668.zip
Force reason correctly
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;
}