[英]PHP cachelite organize files into multiple directories
I read documentation of cache_lite but couldn't found any option regarding to manage cache files into several subdirectories. 我阅读了cache_lite的文档,但是找不到将缓存文件管理到几个子目录中的任何选项。 Is there any addon available for that?
有可用的插件吗?
It's in the constructor to cache_lite : 它在cache_lite的构造函数中 :
Just set the hashedDirectoryLevel
option.... 只需设置
hashedDirectoryLevel
选项即可。
$cache = new Cache_Lite(array('hashedDirectoryLevel' => 2));
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.