Browse Source

Update check_auth.php

FusionPBX 6 years ago
parent
commit
d4ffb1f1b8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/check_auth.php

+ 1 - 1
resources/check_auth.php

@@ -259,7 +259,7 @@
 			}
 			}
 
 
 		//get the domains
 		//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";
 				require_once "app/domains/resources/domains.php";
 			}
 			}