diff options
| author | Horus3 | 2014-03-17 22:59:49 +0100 |
|---|---|---|
| committer | Horus3 | 2014-03-17 22:59:49 +0100 |
| commit | 46786c1703474776d74ba67eb01eb484f3c8b646 (patch) | |
| tree | 61a9e155e53d3c6042accd353b24565c4bff140f | |
| parent | 324b9dc8d4dfb06532f698c2bf6ac88bcc1fc0c7 (diff) | |
| download | files.iamfabulous.de-46786c1703474776d74ba67eb01eb484f3c8b646.tar.gz | |
Small bugfixes and tmp print_invite().
| -rwxr-xr-x | www/functions/func_interface.php | 4 | ||||
| -rwxr-xr-x | www/index.php | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/www/functions/func_interface.php b/www/functions/func_interface.php index e5e4729..0c765f4 100755 --- a/www/functions/func_interface.php +++ b/www/functions/func_interface.php @@ -21,3 +21,7 @@ function collect_content($db,$username, $folder_path){ /*function print_browser($content){ var_dump($content); }*/ + +function print_invite($var){ + include("invite.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; |
