Fixed bugs

This commit is contained in:
Joey Lai
2017-01-27 14:03:11 +01:00
parent 609f350cd3
commit 5e9629eddd
10 changed files with 127 additions and 113 deletions

View File

@@ -42,9 +42,9 @@ function validateLogin($username, $password){
</script>";
} else {
$_SESSION["userID"] = $userID;
if($_POST[rememberMe] == 1){
ini_set("session.gc_maxlifetime", "10");
}
// if($_POST[rememberMe] == 1){
// ini_set("session.gc_maxlifetime", "10");
// }
header("location: profile.php");
}
} else {