在think\cache\driver\File缓存类文件驱动中,是这样定义缓存文件名的:
if ($this->options['prefix']) {
$name = $this->options['prefix'] . DS . $name;
}而常量DS是‘ / ’,那前缀岂不成了子目录?那还要前面的cache_subdir干嘛?
if ($this->options['cache_subdir']) {
// 使用子目录
$name = substr($name, 0, 2) . DS . substr($name, 2);
}我记得RC4刚开始的几个版本还是正常的。
求解……