Update check_auth.php
This commit is contained in:
parent
a1a7268451
commit
848bb7df4b
|
|
@ -261,10 +261,12 @@
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
else if ($_SESSION['login']['destination']['url'] != '') {
|
else if ($_SESSION['login']['destination']['url'] != '') {
|
||||||
|
if (isset($_SESSION["username"]) && (strlen($_SESSION["username"]) > 0)) {
|
||||||
header("Location: ".$_SESSION['login']['destination']['url']);
|
header("Location: ".$_SESSION['login']['destination']['url']);
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//get the domains
|
//get the domains
|
||||||
if (file_exists($_SERVER["PROJECT_ROOT"]."/app/domains/app_config.php") && !is_cli()){
|
if (file_exists($_SERVER["PROJECT_ROOT"]."/app/domains/app_config.php") && !is_cli()){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue