mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Login: Nevermind. Simplify login.php even further.
This commit is contained in:
@@ -29,12 +29,4 @@
|
||||
//additional includes
|
||||
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/");
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user