Merge branch 'dev' of https://gitea.lihaink.cn/mkm/shop-php into dev
This commit is contained in:
commit
38fb60b8b1
@ -126,7 +126,7 @@ abstract class FileCache extends CacheProvider
|
|||||||
{
|
{
|
||||||
return $this->directory
|
return $this->directory
|
||||||
. DIRECTORY_SEPARATOR
|
. DIRECTORY_SEPARATOR
|
||||||
. implode(str_split(hash('sha256', $id), 2), DIRECTORY_SEPARATOR)
|
. implode(DIRECTORY_SEPARATOR, str_split(hash('sha256', $id), 2))
|
||||||
. DIRECTORY_SEPARATOR
|
. DIRECTORY_SEPARATOR
|
||||||
. preg_replace($this->disallowedCharacterPatterns, $this->replacementCharacters, $id)
|
. preg_replace($this->disallowedCharacterPatterns, $this->replacementCharacters, $id)
|
||||||
. $this->extension;
|
. $this->extension;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user