mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Change login destination type url to text
This commit is contained in:
@@ -84,8 +84,8 @@
|
||||
}
|
||||
header("Location: ".$redirect_path);
|
||||
}
|
||||
elseif (isset($_SESSION['login']['destination']['url'])) {
|
||||
header("Location: ".$_SESSION['login']['destination']['url']);
|
||||
elseif (isset($_SESSION['login']['destination']['text'])) {
|
||||
header("Location: ".$_SESSION['login']['destination']['text']);
|
||||
}
|
||||
elseif (file_exists($_SERVER["PROJECT_ROOT"]."/core/dashboard/app_config.php")) {
|
||||
header("Location: ".PROJECT_PATH."/core/dashboard/");
|
||||
|
||||
Reference in New Issue
Block a user