diff --git a/links.txt b/links.txt new file mode 100644 index 0000000..afe7341 --- /dev/null +++ b/links.txt @@ -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/ + diff --git a/public/index.php b/public/index.php index 59f0ba7..71a7bea 100644 --- a/public/index.php +++ b/public/index.php @@ -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(''); - } else { +// $slash = strrchr($ua,'/'); +// $ffversion = intval(substr($slash,1)); +// if ($ffversion >= 89){ + // die(''); + // } else { die('success'); - } + // }