From 46786c1703474776d74ba67eb01eb484f3c8b646 Mon Sep 17 00:00:00 2001 From: Horus3 Date: Mon, 17 Mar 2014 22:59:49 +0100 Subject: Small bugfixes and tmp print_invite(). --- www/index.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'www/index.php') diff --git a/www/index.php b/www/index.php index 9a23444..88f11f8 100755 --- a/www/index.php +++ b/www/index.php @@ -11,8 +11,7 @@ if(!isset($_SESSION["login"])){ if(empty($_GET)){ if(!$_SESSION["login"]){ - header("Refresh: 0; /login"); - exit; + print_login(constant("EMPTY")); } else { header("Refresh: 0; /" . $_SESSION["username"]); exit; @@ -59,7 +58,7 @@ if(empty($_GET)){ print_invite($var); } } else { - print_login(constant("EMPTY")); + print_invite(constant("EMPTY")); } break; -- cgit v1.2.3