add files uuid

This commit is contained in:
Jürgen Mummert
2026-01-12 11:18:02 +01:00
parent ca1305c9c6
commit 8b2c6e6b92
+5 -1
View File
@@ -102,7 +102,11 @@ class MeilisearchFilesParseCommand extends Command
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)) {
$this->log('File missing, skip', [