diff options
-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)) { |