dedecms织梦栏目静态生成后分页URL链接绝对路径教程
打开 includearc.listview.class.php 找到
$tnamerule = preg_replace("/^(.*)//", '', $tnamerule);
在它的下面加入
查看源码打印代码帮助
global $cfg_basehost;
$cfg_basehost = preg_replace('#/$#','',$cfg_basehost);
$tnamerule = $cfg_basehost.MfTypedir($this->Fields['typedir']).'/'.$tnamerule;
$tnamerule = preg_replace("/^(.*)//", '', $tnamerule);
在它的下面加入
查看源码打印代码帮助
global $cfg_basehost;
$cfg_basehost = preg_replace('#/$#','',$cfg_basehost);
$tnamerule = $cfg_basehost.MfTypedir($this->Fields['typedir']).'/'.$tnamerule;