diff options
author | Ermal <eri@pfsense.org> | 2013-01-21 20:47:51 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-01-21 20:47:51 +0000 |
commit | 4734474e0bdc8cfb44a93f81deb4599de2c1dc19 (patch) | |
tree | 152b004c6600fd422b4300d6c7b717adb6901f8b | |
parent | 497d0b192f8e065ec3b4d1d94764b51c924a89b8 (diff) | |
download | pfsense-4734474e0bdc8cfb44a93f81deb4599de2c1dc19.zip pfsense-4734474e0bdc8cfb44a93f81deb4599de2c1dc19.tar.gz |
Revert "There should be always a zone given from lighty to us so try to get that first"
This reverts commit 497d0b192f8e065ec3b4d1d94764b51c924a89b8.
-rwxr-xr-x | usr/local/captiveportal/index.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php index e4dd59c..28931a4 100755 --- a/usr/local/captiveportal/index.php +++ b/usr/local/captiveportal/index.php @@ -44,10 +44,7 @@ header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); header("Connection: close"); -if ($_GET['zone']) - $cpzone = $_GET['zone']; -else if ($_POST['zone']) - $cpzone = $_POST['zone']; +$cpzone = $_REQUEST['zone']; $cpcfg = $config['captiveportal'][$cpzone]; $orig_host = $_ENV['HTTP_HOST']; |