summaryrefslogtreecommitdiff
path: root/www/index.php
diff options
context:
space:
mode:
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 {