File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -586,12 +586,12 @@ protected function getKernelParameters()
586
586
587
587
return array_merge (
588
588
array (
589
- 'kernel.root_dir ' => $ this ->rootDir ,
589
+ 'kernel.root_dir ' => realpath ( $ this -> rootDir ) ?: $ this ->rootDir ,
590
590
'kernel.environment ' => $ this ->environment ,
591
591
'kernel.debug ' => $ this ->debug ,
592
592
'kernel.name ' => $ this ->name ,
593
- 'kernel.cache_dir ' => $ this ->getCacheDir (),
594
- 'kernel.logs_dir ' => $ this ->getLogDir (),
593
+ 'kernel.cache_dir ' => realpath ( $ this -> getCacheDir ()) ?: $ this ->getCacheDir (),
594
+ 'kernel.logs_dir ' => realpath ( $ this -> getLogDir ()) ?: $ this ->getLogDir (),
595
595
'kernel.bundles ' => $ bundles ,
596
596
'kernel.charset ' => $ this ->getCharset (),
597
597
'kernel.container_class ' => $ this ->getContainerClass (),
You can’t perform that action at this time.
0 commit comments