Browse Source

Use the new dashboard.

FusionPBX 3 years ago
parent
commit
bf60c05526
1 changed files with 2 additions and 2 deletions
  1. 2 2
      resources/check_auth.php

+ 2 - 2
resources/check_auth.php

@@ -299,8 +299,8 @@
 			if (!isset($_REQUEST["key"])) {
 				if (isset($_SESSION['login']['destination']['url'])) {
 					header("Location: ".$_SESSION['login']['destination']['url']);
-				} elseif (file_exists($_SERVER["PROJECT_ROOT"]."/core/user_settings/user_dashboard.php")) {
-					header("Location: ".PROJECT_PATH."/core/user_settings/user_dashboard.php");
+				} elseif (file_exists($_SERVER["PROJECT_ROOT"]."/core/dashboard/app_config.php")) {
+					header("Location: ".PROJECT_PATH."/core/dashboard/");
 				}
 				else {
 					require_once "resources/header.php";