diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-12-03 21:59:07 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-12-03 21:59:07 +0000 |
commit | ffd1f1aa79eabe06c730dd86f01a920ed423a423 (patch) | |
tree | dd39b2c6ba5aa8d2f2351d3407d98c3738434560 | |
parent | 56825c0181bbde1e1c8c0fa0c500890f2a12ce8c (diff) | |
download | pfsense-ffd1f1aa79eabe06c730dd86f01a920ed423a423.zip pfsense-ffd1f1aa79eabe06c730dd86f01a920ed423a423.tar.gz |
Parse the configuration file so we can deterimine if captive portal is enabled
-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 fcd5313..d75ee9a 100755 --- a/usr/local/www/diag_backup.php +++ b/usr/local/www/diag_backup.php @@ -155,8 +155,8 @@ if ($_POST) { /* remove cache, we will force a config reload */ if(file_exists("/tmp/config.cache")) unlink("/tmp/config.cache"); + $config = parse_config(true); if($m0n0wall_upgrade == true) { - $config = parse_config(true); if($config['system']['gateway'] <> "") { $config['interfaces']['wan']['gateway'] = $config['system']['gateway']; } |