Update the path to the dashboad from app to core.

This commit is contained in:
FusionPBX 2021-11-10 07:50:54 -07:00 committed by GitHub
parent 23d9ef45a7
commit 8c0129419c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -59,8 +59,8 @@
//find the path
switch ($_SERVER['REQUEST_URI']) {
case PROJECT_PATH."/app/dashboard/index.php":
$validated_path = PROJECT_PATH."/app/dashboard/index.php";
case PROJECT_PATH."/core/dashboard/index.php":
$validated_path = PROJECT_PATH."/core/dashboard/index.php";
break;
case PROJECT_PATH."/app/ring_groups/ring_group_forward.php":
$validated_path = PROJECT_PATH."/app/ring_groups/ring_group_forward.php";
@ -107,7 +107,7 @@
//set message
message::add($text['message-update']);
$validated_path = PROJECT_PATH."/app/dashboard/index.php";
$validated_path = PROJECT_PATH."/core/dashboard/index.php";
//redirect the user
header("Location: ".$validated_path);