Hello, I would like to setup CI in GITLAB and there are a lot of changed files which I didn't update by myself. What do the rebuild.php? Is there some account ID, permitions sets? Or do it write to files as well?
Announcement
Collapse
No announcement yet.
What does REBUILD.PHP do with files?
Collapse
X
-
I'm not a programmer so I don't know what it do exactly, you can probably start digging from reading the file here:
https://github.com/espocrm/espocrm/b...er/rebuild.php
It look like it run a couple of other file:include "bootstrap.php"; use Espo\Core\{ ApplicationRunners\Rebuild,Application,
-
I think this can help answering your questions https://github.com/espocrm/espocrm/b...anager.php#L98
- Likes 1
Comment
-
And a copy/paste in case someone search on the forum:
public function rebuild(?array $entityList = null): void
{
$this->clearCache();
$this->disableHooks();
$this->populateConfigParameters();
$this->rebuildMetadata();
$this->rebuildDatabase($entityList);
$this->rebuildScheduledJobs();
$this->enableHooks();
}
Comment