Update domains.php
This commit is contained in:
parent
47e3f89859
commit
8ea2e69b23
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue