소스 검색

Update domains.php

FusionPBX 6 년 전
부모
커밋
b016551b08
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      core/domains/domains.php

+ 1 - 1
core/domains/domains.php

@@ -29,7 +29,7 @@
 	require_once "resources/check_auth.php";
 	require_once "resources/check_auth.php";
 
 
 //redirect admin to app instead
 //redirect admin to app instead
-	if (file_exists($_SERVER["PROJECT_ROOT"]."/app/domains/") && !permission_exists('domain_parent') && permission_exists('domain_descendants')) {
+	if (file_exists($_SERVER["PROJECT_ROOT"]."/app/domains/app_config.php") && !permission_exists('domain_all')) {
 		header("Location: ".PROJECT_PATH."/app/domains/domains.php");
 		header("Location: ".PROJECT_PATH."/app/domains/domains.php");
 	}
 	}