Should be able to run on PHP >= 5.5

This commit is contained in:
simon
2017-11-25 09:44:34 -05:00
parent e3ab67e95c
commit 24f7fd670a
7 changed files with 17 additions and 33 deletions

View File

@@ -18,7 +18,9 @@ if ($user != NULL) {
} else {
(new MessageCookie("Username or password incorrect", "login"))->setCookie();
$msg = new MessageCookie("Username or password incorrect", "login");
$msg->setCookie();
header("Location: login.php#login");
}