From 3c326b182cd16c15406331f93865412f061255e6 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 22 Aug 2019 11:15:13 -0600 Subject: [PATCH] Update check_auth.php --- resources/check_auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/check_auth.php b/resources/check_auth.php index 73c4997a04..e329894f16 100644 --- a/resources/check_auth.php +++ b/resources/check_auth.php @@ -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"; }