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 350e110 commit be80db3Copy full SHA for be80db3
src/Symfony/Component/HttpKernel/Kernel.php
@@ -514,8 +514,9 @@ protected function initializeContainer()
514
515
try {
516
if (file_exists($cachePath) && \is_object($this->container = include $cachePath)
517
- && (!$this->debug || (self::$freshCache[$k = $cachePath.'.'.$this->environment] ?? self::$freshCache[$k] = $cache->isFresh()))
+ && (!$this->debug || (self::$freshCache[$cachePath] ?? $cache->isFresh()))
518
) {
519
+ self::$freshCache[$cachePath] = true;
520
$this->container->set('kernel', $this);
521
error_reporting($errorLevel);
522
0 commit comments