From 5370146c75711d271113654d4061750958d6ccfc Mon Sep 17 00:00:00 2001 From: Ermal Date: Wed, 23 Jan 2013 20:32:46 +0000 Subject: Make sure this is in global scope --- usr/local/captiveportal/index.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr/local/captiveportal/index.php') 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)) { -- cgit v1.1