ConsoleCommand framework
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@
|
||||
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
|
||||
************************************************************************/
|
||||
|
||||
if (substr(php_sapi_name(), 0, 3) != 'cli') die('Cron can be run only via CLI');
|
||||
if (substr(php_sapi_name(), 0, 3) != 'cli') die('WebSocket can be run only via CLI.');
|
||||
|
||||
include "bootstrap.php";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user