summaryrefslogtreecommitdiff
path: root/www/index.php
diff options
context:
space:
mode:
authorHorus32014-03-17 22:59:49 +0100
committerHorus32014-03-17 22:59:49 +0100
commit46786c1703474776d74ba67eb01eb484f3c8b646 (patch)
tree61a9e155e53d3c6042accd353b24565c4bff140f /www/index.php
parent324b9dc8d4dfb06532f698c2bf6ac88bcc1fc0c7 (diff)
downloadfiles.iamfabulous.de-46786c1703474776d74ba67eb01eb484f3c8b646.tar.gz
Small bugfixes and tmp print_invite().
Diffstat (limited to 'www/index.php')
-rwxr-xr-xwww/index.php5
1 files changed, 2 insertions, 3 deletions
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;