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 5dd56a6 commit 8efcc17Copy full SHA for 8efcc17
src/Symfony/Component/HttpKernel/Kernel.php
@@ -533,7 +533,7 @@ protected function initializeContainer()
533
if (!flock($lock, $wouldBlock ? \LOCK_SH : \LOCK_EX)) {
534
fclose($lock);
535
$lock = null;
536
- } elseif (!\is_object($this->container = include $cachePath)) {
+ } elseif (!is_file($cachePath) || !\is_object($this->container = include $cachePath)) {
537
$this->container = null;
538
} elseif (!$oldContainer || \get_class($this->container) !== $oldContainer->name) {
539
flock($lock, \LOCK_UN);
0 commit comments