add files uuid
This commit is contained in:
@@ -102,7 +102,11 @@ class MeilisearchFilesParseCommand extends Command
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$absolutePath = TL_ROOT . '/' . $normalized;
|
$root = defined('TL_ROOT')
|
||||||
|
? TL_ROOT
|
||||||
|
: $this->framework->getContainer()->getParameter('kernel.project_dir') . '/public';
|
||||||
|
|
||||||
|
$absolutePath = $root . '/' . $normalized;
|
||||||
|
|
||||||
if (!is_file($absolutePath)) {
|
if (!is_file($absolutePath)) {
|
||||||
$this->log('File missing, skip', [
|
$this->log('File missing, skip', [
|
||||||
|
|||||||
Reference in New Issue
Block a user