aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/autoconfigbackup/autoconfigbackup.php1
-rw-r--r--packages/autoconfigbackup/autoconfigbackup_backup.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php
index 3534d0c8..a117516e 100644
--- a/packages/autoconfigbackup/autoconfigbackup.php
+++ b/packages/autoconfigbackup/autoconfigbackup.php
@@ -268,6 +268,7 @@ include("head.inc");
echo "<h2>Decrypted config.xml</h2>";
echo "<textarea name='dec_config_xml' rows='40' cols='70'>{$data}</textarea>";
}
+ echo "<p/><input type=\"button\" value=\"Install this revision\" onClick=\"document.location='autoconfigbackup.php?newver=" . urlencode($_REQUEST['download']) . "';\">";
echo "</td></tr></table></div></td></td></tr></tr></table></form>";
require("fend.inc");
exit;
diff --git a/packages/autoconfigbackup/autoconfigbackup_backup.php b/packages/autoconfigbackup/autoconfigbackup_backup.php
index a1e9aec3..11542034 100644
--- a/packages/autoconfigbackup/autoconfigbackup_backup.php
+++ b/packages/autoconfigbackup/autoconfigbackup_backup.php
@@ -59,7 +59,7 @@ if(!$username) {
exit;
}
-if($_POST) {
+if($_POST) {
touch("/tmp/acb_nooverwrite");
if($_REQUEST['reason'])
write_config($_REQUEST['reason']);