Browse Source

Update domains.php

FusionPBX 6 years ago
parent
commit
b016551b08
1 changed files with 1 additions and 1 deletions
  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");
 	}