优惠全部云服务器首月 8 折,优惠码 CLOUD去领取

修改Ecshop首页在线会员数量的方法

· 阅读约 1 分钟

 查找:includes/lib_insert.php里面的
  $online_count = $GLOBALS[‘db’]->getOne(“SELECT COUNT(*) FROM ” . $GLOBALS[‘ecs’]->table(‘sessions’)); 

将这一段改成:
$online_count = $GLOBALS[‘db’]->getOne(“SELECT COUNT(*) FROM ” . $GLOBALS[‘ecs’]->table(‘sessions’))*15;

ecshop首页在线会员的数量乘了15

相关文章

更多「网站和优化」文章服务器使用指南