diff options
| author | oweissbarth | 2014-03-14 19:20:01 +0100 |
|---|---|---|
| committer | oweissbarth | 2014-03-14 19:20:01 +0100 |
| commit | 20d1d5e53ce7713f7d0beb5f8538b936836ad54c (patch) | |
| tree | 42694a2239d695b2bfbad4938f2ed3c64a576bf7 | |
| parent | bef14b7a51b4cf158ca41eb9308da1877696ad4b (diff) | |
| download | files.iamfabulous.de-20d1d5e53ce7713f7d0beb5f8538b936836ad54c.tar.gz | |
Removed some warnings
| -rwxr-xr-x | www/functions/func_login.php | 2 | ||||
| -rwxr-xr-x | www/index.php | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/www/functions/func_login.php b/www/functions/func_login.php index 1cdd39d..86caf40 100755 --- a/www/functions/func_login.php +++ b/www/functions/func_login.php @@ -45,7 +45,7 @@ function login($db){ return false; } } else { - if($_SESSION["login"]){ + if(isset($_SESSION["login"])){ header("Refresh: 0; /"); return false; } diff --git a/www/index.php b/www/index.php index 58217ef..f07a8d7 100755 --- a/www/index.php +++ b/www/index.php @@ -17,8 +17,6 @@ if(empty($_GET)){ } } else { - $name = SQLite3::escapeString("$_GET[name]"); - /* checks for specific site url's */ if(empty($_GET["name"])){ |
