diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-10-10 00:16:20 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-10-10 00:16:20 +0000 |
commit | 4a0925bcf48f89631f44588364673a312a429fee (patch) | |
tree | 4537237201a6c0f52ae87328cf4e3bf1c157fab9 /usr | |
parent | 6b524b567d2303838242823545afed98db81548e (diff) | |
download | pfsense-4a0925bcf48f89631f44588364673a312a429fee.zip pfsense-4a0925bcf48f89631f44588364673a312a429fee.tar.gz |
Only parse config on m0n0wall upgrade
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/diag_backup.php | 2 |
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'] <> "") { |