This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
espocrm-base/rebuild.php
T
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();