mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-08 15:42:48 +08:00
修正File缓存驱动
This commit is contained in:
2
library/think/cache/driver/File.php
vendored
2
library/think/cache/driver/File.php
vendored
@@ -69,7 +69,7 @@ class File extends Driver
|
|||||||
$name = md5($name);
|
$name = md5($name);
|
||||||
if ($this->options['cache_subdir']) {
|
if ($this->options['cache_subdir']) {
|
||||||
// 使用子目录
|
// 使用子目录
|
||||||
$name = substr($md5, 0, 2) . DS . substr($md5, 2);
|
$name = substr($name, 0, 2) . DS . substr($name, 2);
|
||||||
}
|
}
|
||||||
if ($this->options['prefix']) {
|
if ($this->options['prefix']) {
|
||||||
$name = $this->options['prefix'] . DS . $name;
|
$name = $this->options['prefix'] . DS . $name;
|
||||||
|
|||||||
Reference in New Issue
Block a user