mirror of
https://github.com/simon987/Much-Assembly-Required-Frontend.git
synced 2025-12-14 15:19:07 +00:00
Should be able to run on PHP >= 5.5
This commit is contained in:
@@ -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");
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user