summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-09 23:56:58 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-09 23:56:58 +0000
commit9e0b5b97b4a1b6dfee0d2dc8fe68887177ce4fb5 (patch)
tree891ddef161fd58ea2a4f04c652c860279fcfeda5 /usr/local/www
parent80c023281e4eba4608511d6e9f5723d6bb56256b (diff)
downloadpfsense-9e0b5b97b4a1b6dfee0d2dc8fe68887177ce4fb5.zip
pfsense-9e0b5b97b4a1b6dfee0d2dc8fe68887177ce4fb5.tar.gz
* Parse config (false)
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/diag_backup.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php
index f701116..ace713a 100755
--- a/usr/local/www/diag_backup.php
+++ b/usr/local/www/diag_backup.php
@@ -128,6 +128,7 @@ if ($_POST) {
$fd = fopen($_FILES['conffile']['tmp_name'], "w");
fwrite($fd, $upgradedconfig);
fclose($fd);
+ $tmp = $upgradedconfig;
$m0n0wall_upgrade = true;
}
if($_POST['restorearea'] <> "") {
@@ -156,7 +157,7 @@ if ($_POST) {
/* remove cache, we will force a config reload */
if(file_exists("/tmp/config.cache"))
unlink("/tmp/config.cache");
- parse_config(true);
+ parse_config(false);
/* force a configuration upgrade */
convert_config();
if($m0n0wall_upgrade == true) {
OpenPOWER on IntegriCloud