$container->getParameter('kernel.project_dir') returns /var/www/project/vendor/contao/manager-bundle because Kernel::getProjectDir() searches for the nearest composer.json file. As this parameter is used for TL_ROOT, this makes Contao 4.4-beta1 unusable in the managed edition.
I think we have to add a getProjectDir() method to the ContaoKernel.
$container->getParameter('kernel.project_dir')
returns/var/www/project/vendor/contao/manager-bundle
becauseKernel::getProjectDir()
searches for the nearest composer.json file. As this parameter is used forTL_ROOT
, this makes Contao 4.4-beta1 unusable in the managed edition.I think we have to add a
getProjectDir()
method to theContaoKernel
.