diff options
author | Ermal <eri@pfsense.org> | 2013-01-23 20:32:46 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-01-23 20:32:46 +0000 |
commit | 5370146c75711d271113654d4061750958d6ccfc (patch) | |
tree | d1f4a217fdff8c411900d723d82583ebc31693d5 /usr/local/captiveportal | |
parent | 5918f9b71295521fb06eac8aec8fabcf876e1831 (diff) | |
download | pfsense-5370146c75711d271113654d4061750958d6ccfc.zip pfsense-5370146c75711d271113654d4061750958d6ccfc.tar.gz |
Make sure this is in global scope
Diffstat (limited to 'usr/local/captiveportal')
-rwxr-xr-x | usr/local/captiveportal/index.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php index 35a2cd3..7034177 100755 --- a/usr/local/captiveportal/index.php +++ b/usr/local/captiveportal/index.php @@ -44,6 +44,8 @@ header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); header("Connection: close"); +global $cpzone; + $cpzone = $_REQUEST['zone']; $cpcfg = $config['captiveportal'][$cpzone]; if (empty($cpcfg)) { |