aoolication runners
This commit is contained in:
+1
-4
@@ -27,9 +27,6 @@
|
||||
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
|
||||
************************************************************************/
|
||||
|
||||
if (substr(php_sapi_name(), 0, 3) != 'cli') die('Rebuild can be run only via CLI.');
|
||||
|
||||
include "bootstrap.php";
|
||||
|
||||
$app = new \Espo\Core\Application();
|
||||
$app->runRebuild();
|
||||
(new \Espo\Core\Application())->run('rebuild');
|
||||
|
||||
Reference in New Issue
Block a user