From 09d24a3f321476ecdbbf10156fe724343a7d4084 Mon Sep 17 00:00:00 2001 From: oweissbarth Date: Fri, 14 Mar 2014 20:31:13 +0100 Subject: 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. --- www/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/index.php') 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 { -- cgit v1.2.3