mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-31 17:33:48 +00:00
Update domains.php
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
require_once "resources/check_auth.php";
|
||||
|
||||
//redirect admin to app instead
|
||||
if (file_exists($_SERVER["PROJECT_ROOT"]."/app/domains/app_config.php") && !permission_exists('domain_all')) {
|
||||
if (file_exists($_SERVER["PROJECT_ROOT"]."/app/domains/app_config.php") && !permission_exists('domain_all') && !is_cli()) {
|
||||
header("Location: ".PROJECT_PATH."/app/domains/domains.php");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user