ConsoleCommand framework

This commit is contained in:
yuri
2019-02-08 16:44:54 +02:00
parent 790a206e0a
commit 983988c9e1
15 changed files with 294 additions and 46 deletions
+1 -1
View File
@@ -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";