Upgrade to 3.5.2

This commit is contained in:
Bastian Allgeier
2021-02-09 16:55:18 +01:00
parent 99c36fa137
commit b507926ad1
53 changed files with 350 additions and 355 deletions

View File

@@ -68,7 +68,7 @@ class FileCache extends Cache
*/
protected function file(string $key): string
{
$file = $this->root . '/' . $key;
$file = $this->root . '/' . basename($key);
if (isset($this->options['extension'])) {
return $file . '.' . $this->options['extension'];