aboutsummaryrefslogtreecommitdiffstats
path: root/packages/autoconfigbackup/autoconfigbackup.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-11 23:34:31 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-11 23:34:31 +0000
commit001caa59ec8d9e014991325863dfe231d31346d5 (patch)
treeaebaaa9e7c5294967bc7d74bfcd9f60e3ff2bb63 /packages/autoconfigbackup/autoconfigbackup.php
parent64c1a3b3f035107686a23e4adfe3b2b9f421a08e (diff)
downloadpfsense-packages-001caa59ec8d9e014991325863dfe231d31346d5.tar.gz
pfsense-packages-001caa59ec8d9e014991325863dfe231d31346d5.tar.bz2
pfsense-packages-001caa59ec8d9e014991325863dfe231d31346d5.zip
Correct backup fieldname
Diffstat (limited to 'packages/autoconfigbackup/autoconfigbackup.php')
-rw-r--r--packages/autoconfigbackup/autoconfigbackup.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php
index b4548604..c3d4727e 100644
--- a/packages/autoconfigbackup/autoconfigbackup.php
+++ b/packages/autoconfigbackup/autoconfigbackup.php
@@ -60,7 +60,7 @@ if(!$username) {
exit;
}
-if($_POST['Backup now']) {
+if($_POST['backup']) {
write_config("Backup Now invoked via Auto Config Backup.");
$savemsg = "A configuration backup has been queued.";
exec("echo > /cf/conf/lastpfSbackup.txt");
@@ -201,7 +201,7 @@ include("head.inc");
</td></tr>
<tr><td>
<form method="post" action="autoconfigbackup.php">
- <input type="submit" name="Backup now" value="backup">
+ <input type="submit" name="backup" value="Backup">
</form>
</td></tr>
</tr>