Browse Source

Update domains.php

FusionPBX 6 năm trước cách đây
mục cha
commit
b016551b08
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      core/domains/domains.php

+ 1 - 1
core/domains/domains.php

@@ -29,7 +29,7 @@
 	require_once "resources/check_auth.php";
 
 //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");
 	}