LYECS 2.0 BUG修复

手机版缓存问题,该BUG会导致PC和WAP缓存冲突

LYECS,LYECS+商城系统,多用户商城系统,开源商城系统 发布日期:2016-07-05   作者:老杨

1、mobile/goods.php

找到:

$cache_id = $goods_id .

修改为:

$cache_id = 'mobile-'. $goods_id .



2、mobile/topic.php

找到:


$cache_id = sprintf('%X', crc32($_SESSION['user_rank'] . '-' . $_CFG['lang'] . '-' . $topic_id));

修改为:
$cache_id = sprintf('%X','mobile-'. crc32($_SESSION['user_rank'] . '-' . $_CFG['lang'] . '-' . $topic_id));

热门文章

分类标签