File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -609,7 +609,7 @@ protected function getKernelParameters()
609
609
'kernel.runtime_environment ' => '%env(default:kernel.environment:APP_RUNTIME_ENV)% ' ,
610
610
'kernel.debug ' => $ this ->debug ,
611
611
'kernel.build_dir ' => realpath ($ buildDir = $ this ->warmupDir ?: $ this ->getBuildDir ()) ?: $ buildDir ,
612
- 'kernel.cache_dir ' => realpath ($ this ->getCacheDir ()) ?: $ this ->getCacheDir (),
612
+ 'kernel.cache_dir ' => realpath ($ cacheDir = ( $ this ->getCacheDir () === $ this -> getBuildDir ( ) ? ( $ this -> warmupDir ? : $ this ->getCacheDir ()) : $ this -> getCacheDir ())) ?: $ cacheDir ,
613
613
'kernel.logs_dir ' => realpath ($ this ->getLogDir ()) ?: $ this ->getLogDir (),
614
614
'kernel.bundles ' => $ bundles ,
615
615
'kernel.bundles_metadata ' => $ bundlesMetadata ,
You can’t perform that action at this time.
0 commit comments