8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b22f97 commit 06b793fCopy full SHA for 06b793f
src/Symfony/Bundle/FrameworkBundle/Kernel/MicroKernelTrait.php
@@ -68,7 +68,11 @@ trait MicroKernelTrait
68
*/
69
public function getCacheDir(): string
70
{
71
- return $_SERVER['APP_CACHE_DIR'] ?? parent::getCacheDir();
+ if (isset($_SERVER['APP_CACHE_DIR'])) {
72
+ return $_SERVER['APP_CACHE_DIR'].'/'.$this->environment;
73
+ }
74
+
75
+ return parent::getCacheDir();
76
}
77
78
/**
0 commit comments