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.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup_backup.php b/packages/autoconfigbackup/autoconfigbackup_backup.php
index 7617f688..50409a76 100644
--- a/packages/autoconfigbackup/autoconfigbackup_backup.php
+++ b/packages/autoconfigbackup/autoconfigbackup_backup.php
@@ -64,10 +64,13 @@ if(!$username) {
if($_POST) {
if($_REQUEST['nooverwrite'])
touch("/tmp/acb_nooverwrite");
+ if($_REQUEST['reason'])
+ write_config($_REQUEST['reason']);
+ else
+ write_config("Backup invoked via Auto Config Backup.");
upload_config();
$savemsg = "Backup completed successfully.";
exec("echo > /cf/conf/lastpfSbackup.txt");
- filter_configure_sync();
$donotshowheader=true;
}