diff options
Diffstat (limited to 'www/index.php')
| -rwxr-xr-x | www/index.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/www/index.php b/www/index.php index de33f64..d7adf38 100755 --- a/www/index.php +++ b/www/index.php @@ -9,6 +9,15 @@ if(!isset($_SESSION["login"])){ $_SESSION["login"] = false; } +if(!isset($_SESSION["banned"])){ + $_SESSION["banned"] = false; +} + +if($_SESSION["banned"]){ + echo "You are banned."; + exit; +} + if(empty($_GET)){ if(!$_SESSION["login"]){ print_login(constant("EMPTY")); |
