Files
espocrm/rebuild.php
2014-06-02 16:27:44 +03:00

14 lines
209 B
PHP

<?php
$sapiName = php_sapi_name();
if (substr($sapiName, 0, 3) != 'cli') {
die("Rebuild can be run only via CLI");
}
include "bootstrap.php";
$app = new \Espo\Core\Application();
$app->runRebuild();