Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1985 → Rev 1986

/web/index.php
117,6 → 117,9
if(!$direct_access && $ipset_not_auth_yet[0] == '0')
{
exec("sudo /usr/sbin/ipset add not_auth_yet $remote_ip");
#On force l'utilisateur a refaire une requete DNS sur la même URL intercepté. (comme un CTRL+F5)
echo "<script>window.location.reload(true)</script>";
echo "<script>window.location.href='http://$_SERVER[HTTP_HOST]'</script>";
header("Location: http://$_SERVER[HTTP_HOST]");
exit;
}