-->

admin 发表于 2008-4-11 06:46

帖内的广告指定楼层不正确的解决办法

在 include/cache.func.php



$adv['targets'] = $adv['targets'] == '' ? 'all' : $adv['targets'];

替换为:

$adv['targets'] = $adv['targets'] == '' ? (substr($type, 0, 6) == 'thread' ? 'forum' : 'all') : $adv['targets'];

后台更新缓存
页: [1]
查看完整版本: 帖内的广告指定楼层不正确的解决办法