DEDECMS V5.6 修改: include/channelunit.func.php
DEDECMS V5.7 修改: include/helpers/channelunit.helper.php
将:
| return $GLOBALS['cfg_phpurl']."/view.php?aid=$aid"; |
改为:
| global $dsql; $chRow = $dsql->GetOne("Select * From ` a,`dede_archives` b where a.aid='$aid' and b.id='$aid' and b.flag like '%j%' "); if(empty($chRow['redirecturl'])){ return $GLOBALS['cfg_phpurl']."/view.php?aid=$aid"; }else{ return $chRow['redirecturl']; } |

微信扫一扫打赏
支付宝扫一扫打赏



