diff options
| author | root | 2014-03-10 20:58:31 +0100 |
|---|---|---|
| committer | root | 2014-03-10 20:58:31 +0100 |
| commit | 59c4147bbec43622c0cc696fbb3dfe6a67f5d4b6 (patch) | |
| tree | 271ab400ad38683895acfb79e01267c95170b884 /www | |
| parent | d8c0d3f8c5229147809d543fb59b1968e9824b59 (diff) | |
| download | files.iamfabulous.de-59c4147bbec43622c0cc696fbb3dfe6a67f5d4b6.tar.gz | |
stuff
Diffstat (limited to 'www')
| -rw-r--r-- | www/functions.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/www/functions.php b/www/functions.php index 46b3149..d0d848e 100644 --- a/www/functions.php +++ b/www/functions.php @@ -41,16 +41,16 @@ function login($db){ COMMIT; ")){ - $_SESSION["login"] = true; - $_SESSION["username"] = "$unsafe_username"; + $_SESSION["login"] = true; + $_SESSION["username"] = "$unsafe_username"; - header("Refresh: 0; /"); + header("Refresh: 0; /"); } else { - header("Refresh: 0; login?reason=database"); + header("Refresh: 0; login?reason=database&username=" . $unsafe_username); } } else { - header("Refresh: 0; login?reason=failure"); + header("Refresh: 0; login?reason=failure&username=" . $unsafe_username); } } else { |
