summaryrefslogtreecommitdiff
path: root/www/functions
diff options
context:
space:
mode:
Diffstat (limited to 'www/functions')
-rwxr-xr-xwww/functions/func_login.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/functions/func_login.php b/www/functions/func_login.php
index 86caf40..46bb6d0 100755
--- a/www/functions/func_login.php
+++ b/www/functions/func_login.php
@@ -45,10 +45,11 @@ function login($db){
return false;
}
} else {
- if(isset($_SESSION["login"])){
+ if($_SESSION["login"]){
header("Refresh: 0; /");
return false;
}
+
include("login.php");
return false;
}