diff options
| author | oweissbarth | 2014-03-14 20:31:13 +0100 |
|---|---|---|
| committer | oweissbarth | 2014-03-14 20:31:13 +0100 |
| commit | 09d24a3f321476ecdbbf10156fe724343a7d4084 (patch) | |
| tree | 73f572583180c326301fa94d0fc30df2a2712288 /www/index.php | |
| parent | 20d1d5e53ce7713f7d0beb5f8538b936836ad54c (diff) | |
| download | files.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-x | www/index.php | 2 |
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 { |
