Default to success not to captive
This commit is contained in:
parent
0ff59902db
commit
e0c7993aae
2 changed files with 14 additions and 6 deletions
8
links.txt
Normal file
8
links.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
https://de.wikipedia.org/wiki/Captive_Portal#Erkennung
|
||||
|
||||
http://www.msftconnecttest.com:80/connecttest.txt
|
||||
http://ipv6.msftconnecttest.com:80/connecttest.txt
|
||||
http://connectivitycheck.gstatic.com/generate_204
|
||||
http://detectportal.firefox.com/canonical.html
|
||||
http://captive.apple.com/
|
||||
|
|
@ -8,11 +8,11 @@ if ($_SERVER['REDIRECT_URL']=='/ua'){
|
|||
print($ua);
|
||||
die("\n");
|
||||
}
|
||||
$slash = strrchr($ua,'/');
|
||||
$ffversion = intval(substr($slash,1));
|
||||
if ($ffversion >= 89){
|
||||
die('<meta http-equiv="refresh" content="0;url=https://support.mozilla.org/kb/captive-portal"/>');
|
||||
} else {
|
||||
// $slash = strrchr($ua,'/');
|
||||
// $ffversion = intval(substr($slash,1));
|
||||
// if ($ffversion >= 89){
|
||||
// die('<meta http-equiv="refresh" content="0;url=https://support.mozilla.org/kb/captive-portal"/>');
|
||||
// } else {
|
||||
die('success');
|
||||
}
|
||||
// }
|
||||
|
||||
|
|
Loading…
Reference in a new issue