Login: Nevermind. Simplify login.php even further.
This commit is contained in:
parent
3389ab292d
commit
1f20424cbd
|
|
@ -29,12 +29,4 @@
|
||||||
//additional includes
|
//additional includes
|
||||||
require_once "resources/check_auth.php";
|
require_once "resources/check_auth.php";
|
||||||
|
|
||||||
//redirect
|
|
||||||
if (isset($_SESSION['login']['destination']['text'])) {
|
|
||||||
header("Location: ".$_SESSION['login']['destination']['text']);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
header("Location: ".PROJECT_PATH."/core/dashboard/");
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
Loading…
Reference in New Issue