From 031f67f3db8e21f30fb2e4f2770186f1ef6ddc3d Mon Sep 17 00:00:00 2001 From: QWp6t Date: Tue, 5 Apr 2022 03:21:35 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20is=5Ffile()=20returns=20true=20w?= =?UTF-8?q?hen=20opcache=20is=20misconfigured?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/laravel/framework/pull/41614 --- src/Roots/Acorn/Bootstrap/LoadConfiguration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Roots/Acorn/Bootstrap/LoadConfiguration.php b/src/Roots/Acorn/Bootstrap/LoadConfiguration.php index 90b8f84f..dc82060d 100644 --- a/src/Roots/Acorn/Bootstrap/LoadConfiguration.php +++ b/src/Roots/Acorn/Bootstrap/LoadConfiguration.php @@ -22,7 +22,7 @@ public function bootstrap(Application $app) // First we will see if we have a cache configuration file. If we do, we'll load // the configuration items from that file so that it is very quick. Otherwise // we will need to spin through every configuration file and load them all. - if (is_file($cached = $app->getCachedConfigPath())) { + if (file_exists($cached = $app->getCachedConfigPath())) { $items = require $cached; $loadedFromCache = true;