diff options
author | Scott Ullrich <sullrich@pfSense.org> | 2010-01-02 02:25:50 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfSense.org> | 2010-01-02 02:25:50 -0500 |
commit | 58f4786306b84e28d2fd0b7906793e6ac53d4816 (patch) | |
tree | 7b4a4e151e6e95ffa4115ef0af72a188a23d4800 /usr | |
parent | 77f4569d3d5b8483c8e0971a4aec61b177de9317 (diff) | |
download | pfsense-58f4786306b84e28d2fd0b7906793e6ac53d4816.zip pfsense-58f4786306b84e28d2fd0b7906793e6ac53d4816.tar.gz |
Add ignorefirmwarelock variable that can be used by some ajax callers
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/guiconfig.inc | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc index ebec2ec..5400e22 100755 --- a/usr/local/www/guiconfig.inc +++ b/usr/local/www/guiconfig.inc @@ -91,12 +91,15 @@ $d_ovpnclidirty_path = "/tmp/ovpn-cli.dirty"; /* used by progress bar */ $lastseen = "-1"; -if (file_exists($d_firmwarelock_path)) { - if (!$d_isfwfile) { - header("Location: system_firmware.php"); - exit; - } else { - return; +/* Some ajax scripts still need access to GUI */ +if(!$ignorefirmwarelock) { + if (file_exists($d_firmwarelock_path)) { + if (!$d_isfwfile) { + header("Location: system_firmware.php"); + exit; + } else { + return; + } } } |