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 03a971b commit 835cfc2Copy full SHA for 835cfc2
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