diff --git a/index.php b/index.php index cff652518b..6a4c0a06a8 100644 --- a/index.php +++ b/index.php @@ -62,7 +62,8 @@ require_once "themes/".$_SESSION['domain']['template']['name']."/index.php"; } else { - header("Location: ".PROJECT_PATH."/core/dashboard/"); + //login prompt + require_once "resources/check_auth.php"; } }