This commit is contained in:
mkm 2024-02-28 17:49:09 +08:00
parent 4fdd1d1e7c
commit 121527bdde

View File

@ -126,7 +126,7 @@ abstract class FileCache extends CacheProvider
{
return $this->directory
. DIRECTORY_SEPARATOR
. implode(str_split(hash('sha256', $id), 2), DIRECTORY_SEPARATOR)
. implode(DIRECTORY_SEPARATOR, str_split(hash('sha256', $id), 2))
. DIRECTORY_SEPARATOR
. preg_replace($this->disallowedCharacterPatterns, $this->replacementCharacters, $id)
. $this->extension;