FusionPBX 6 жил өмнө
parent
commit
18e8a5c9e2

+ 1 - 1
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";
 			}