reliable path

This commit is contained in:
TomasVotruba 2021-04-29 20:14:40 +02:00
parent 731eb8bf86
commit ebe192cacc

View File

@ -39,7 +39,7 @@ php;
continue;
}
$filePath = ltrim($fileInfo->getPathname(), '.');
$filePath = '/vendor/' . Strings::after($realPath, 'vendor/');
$preloadFileContent .= "require_once __DIR__ . '" . $filePath . "';" . PHP_EOL;
}