Get the login destination from the settings
This commit is contained in:
parent
9d43254603
commit
ba413775c7
|
|
@ -30,6 +30,6 @@
|
||||||
require_once "resources/check_auth.php";
|
require_once "resources/check_auth.php";
|
||||||
|
|
||||||
//redirect to the dashboard
|
//redirect to the dashboard
|
||||||
header("Location: ".PROJECT_PATH."/core/dashboard/");
|
header("Location: ".$settings->get('login', 'destination', PROJECT_PATH.'/core/dashboard/'));
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue