From 7f17aa8e1385446c889c04e42a6ab6ec2a8f0019 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 10 Nov 2021 08:29:08 -0700 Subject: [PATCH] Use the new dashboard. --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index ab5300a56a..cbd6c45c14 100644 --- a/index.php +++ b/index.php @@ -61,8 +61,8 @@ if (isset($_SESSION["username"])) { 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";