summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rwxr-xr-xwww/functions/func_login.php2
-rwxr-xr-xwww/index.php2
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"])){