summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-10 00:16:20 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-10 00:16:20 +0000
commit4a0925bcf48f89631f44588364673a312a429fee (patch)
tree4537237201a6c0f52ae87328cf4e3bf1c157fab9 /usr
parent6b524b567d2303838242823545afed98db81548e (diff)
downloadpfsense-4a0925bcf48f89631f44588364673a312a429fee.zip
pfsense-4a0925bcf48f89631f44588364673a312a429fee.tar.gz
Only parse config on m0n0wall upgrade
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/diag_backup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php
index d4dbca3..922065a 100755
--- a/usr/local/www/diag_backup.php
+++ b/usr/local/www/diag_backup.php
@@ -156,8 +156,8 @@ if ($_POST) {
/* remove cache, we will force a config reload */
if(file_exists("/tmp/config.cache"))
unlink("/tmp/config.cache");
- parse_config(false);
if($m0n0wall_upgrade == true) {
+ parse_config(false);
/* force a configuration upgrade */
convert_config();
if($config['system']['gateway'] <> "") {
OpenPOWER on IntegriCloud