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
Taras Machyshyn 59a66cb8fa LDAP authorization
2014-07-09 11:53:30 +03:00

14 lines
208 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();