From: Dan Brown Date: Sat, 18 May 2024 19:40:26 +0000 (+0100) Subject: Config: Reverted change to cache directory X-Git-Tag: v24.05.1~1^2~6 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/5651d2c43d3e5e1ba34b74d566b017c45921f069?ds=inline Config: Reverted change to cache directory Change made during Laravel 10 updates to align (Laravel made this change much earlier in 5.x series) but it caused issues due to folder not pre-existing and due to potentiall permission issues. (CLI could create this during update, with non-compatible permissions for webserver). For #4999 --- diff --git a/app/Config/cache.php b/app/Config/cache.php index 2ba16059a..b588437ff 100644 --- a/app/Config/cache.php +++ b/app/Config/cache.php @@ -53,8 +53,8 @@ return [ 'file' => [ 'driver' => 'file', - 'path' => storage_path('framework/cache/data'), - 'lock_path' => storage_path('framework/cache/data'), + 'path' => storage_path('framework/cache'), + 'lock_path' => storage_path('framework/cache'), ], 'memcached' => [