Naale Money Maker Community

标题: 帖内的广告指定楼层不正确的解决办法 [打印本页]

作者: 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'];

后台更新缓存




欢迎光临 Naale Money Maker Community (http://naale.biz/) Powered by Discuz! X2.5