From 8bb07c0fd764d313d5bbe4c7c7f0f5dfc7c4d478 Mon Sep 17 00:00:00 2001 From: LustyRain Date: Wed, 4 Oct 2017 11:39:31 +0900 Subject: [PATCH] Fix called twice --- lib/Cake/Utility/File.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Cake/Utility/File.php b/lib/Cake/Utility/File.php index 06ecf6c65..344e00df9 100644 --- a/lib/Cake/Utility/File.php +++ b/lib/Cake/Utility/File.php @@ -582,6 +582,7 @@ class File { public function clearStatCache($all = false) { if ($all === false && version_compare(PHP_VERSION, '5.3.0') >= 0) { clearstatcache(true, $this->path); + return ; } clearstatcache();