修复织梦CMS无法删除memcache缓存的bug

  打开“/include/helpers/cache.helper.php”文件,搜索如下代码:
 
if (! empty ( $cache_helper_config['memcache'] ) && $cache_helper_config['memcache'] ['is_mc_enable'] === TRUE && $is_memcache === TRUE)
 
  将其改为
 
if (! empty ( $cache_helper_config['memcache'] ) && $cache_helper_config['memcache'] ['is_mc_enable'] === 'Y' && $is_memcache === TRUE)

Copyright © 2024 码农人生. All Rights Reserved