summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-12-03 21:59:07 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-12-03 21:59:07 +0000
commitffd1f1aa79eabe06c730dd86f01a920ed423a423 (patch)
treedd39b2c6ba5aa8d2f2351d3407d98c3738434560 /usr
parent56825c0181bbde1e1c8c0fa0c500890f2a12ce8c (diff)
downloadpfsense-ffd1f1aa79eabe06c730dd86f01a920ed423a423.zip
pfsense-ffd1f1aa79eabe06c730dd86f01a920ed423a423.tar.gz
Parse the configuration file so we can deterimine if captive portal is enabled
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 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'];
}
OpenPOWER on IntegriCloud