From 17284bd19b7c79c41b8d35a789aae6e409b69eb6 Mon Sep 17 00:00:00 2001 From: Matthias Wirtz <2990373+swiffer@users.noreply.github.com> Date: Sun, 18 Oct 2020 08:47:46 +0200 Subject: [PATCH] create recursive directory structures --- src/Cache/FileCacheStorage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cache/FileCacheStorage.php b/src/Cache/FileCacheStorage.php index d930f78a41..87b5b9d6ab 100644 --- a/src/Cache/FileCacheStorage.php +++ b/src/Cache/FileCacheStorage.php @@ -26,7 +26,7 @@ private function makeDir(string $directory): void return; } - $result = @mkdir($directory, 0777); + $result = @mkdir($directory, 0777, true); if ($result === false) { clearstatcache(); if (is_dir($directory)) {