Revision 4734474e
Added by Ermal LUÇI over 12 years ago
usr/local/captiveportal/index.php | ||
---|---|---|
44 | 44 |
header("Pragma: no-cache"); |
45 | 45 |
header("Connection: close"); |
46 | 46 |
|
47 |
if ($_GET['zone']) |
|
48 |
$cpzone = $_GET['zone']; |
|
49 |
else if ($_POST['zone']) |
|
50 |
$cpzone = $_POST['zone']; |
|
47 |
$cpzone = $_REQUEST['zone']; |
|
51 | 48 |
$cpcfg = $config['captiveportal'][$cpzone]; |
52 | 49 |
|
53 | 50 |
$orig_host = $_ENV['HTTP_HOST']; |
Also available in: Unified diff
Revert "There should be always a zone given from lighty to us so try to get that first"
This reverts commit 497d0b192f8e065ec3b4d1d94764b51c924a89b8.