Update check_auth.php

This commit is contained in:
FusionPBX
2019-08-22 11:15:13 -06:00
committed by GitHub
parent 63484cbd71
commit 3c326b182c

View File

@@ -259,7 +259,7 @@
}
//get the domains
if (file_exists($_SERVER["PROJECT_ROOT"]."/app/domains/app_config.php")){
if (file_exists($_SERVER["PROJECT_ROOT"]."/app/domains/app_config.php") && !is_cli()){
require_once "app/domains/resources/domains.php";
}