summaryrefslogtreecommitdiff
path: root/www/index.php
diff options
context:
space:
mode:
authoroweissbarth2014-03-14 20:31:13 +0100
committeroweissbarth2014-03-14 20:31:13 +0100
commit09d24a3f321476ecdbbf10156fe724343a7d4084 (patch)
tree73f572583180c326301fa94d0fc30df2a2712288 /www/index.php
parent20d1d5e53ce7713f7d0beb5f8538b936836ad54c (diff)
downloadfiles.iamfabulous.de-09d24a3f321476ecdbbf10156fe724343a7d4084.tar.gz
Removed more warnings.
Added and reorganized inline docs. Every file should have a small header explaining what the file does and what the paramerters are.
Diffstat (limited to 'www/index.php')
-rwxr-xr-xwww/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/index.php b/www/index.php
index f07a8d7..25a63e4 100755
--- a/www/index.php
+++ b/www/index.php
@@ -8,7 +8,7 @@ $db = new SQLite3("../database/sqlite.db");
if(empty($_GET)){
- if(!$_SESSION["login"]){
+ if(!isset($_SESSION["login"])){
header("Refresh: 0; /login");
exit;
} else {