summaryrefslogtreecommitdiffstats
path: root/usr/local/captiveportal
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-01-23 20:32:46 +0000
committerErmal <eri@pfsense.org>2013-01-23 20:32:46 +0000
commit5370146c75711d271113654d4061750958d6ccfc (patch)
treed1f4a217fdff8c411900d723d82583ebc31693d5 /usr/local/captiveportal
parent5918f9b71295521fb06eac8aec8fabcf876e1831 (diff)
downloadpfsense-5370146c75711d271113654d4061750958d6ccfc.zip
pfsense-5370146c75711d271113654d4061750958d6ccfc.tar.gz
Make sure this is in global scope
Diffstat (limited to 'usr/local/captiveportal')
-rwxr-xr-xusr/local/captiveportal/index.php2
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)) {
OpenPOWER on IntegriCloud