bug fix 7
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ if (isset($_POST["username"]) && isset($_POST["password"])) {
|
||||
//$_SESSION["login"] = "true-as-hell";
|
||||
$fs->setSessionData("login", "true-as-hell");
|
||||
//$redirect = isset($_SESSION["ref"]) ? $_SESSION["ref"] : "index";
|
||||
$redirect = !($fs->getSessionData("ref") == null) ? $fs->getSessionData("ref") : "index";
|
||||
$redirect = $fs->issetSessionData("ref") ? $fs->getSessionData("ref") : "index";
|
||||
//unset($_SESSION["ref"]);
|
||||
$fs->unsetSessionData("ref");
|
||||
header("Location: " . $redirect . ".php");
|
||||
|
||||
Reference in New Issue
Block a user