本文由 发布,转载请注明出处,如有问题请联系我们! 发布时间: 2021-05-15dedecms织梦栏目静态生成后分页URL链接绝对路径实现方法
加载中开启 \include\arc.listview.class.php 寻找
$tnamerule = preg_replace("/^(.*)\//", '', $tnamerule);
在它的下边添加
<span style="font-size:14px;">global $cfg_basehost; $cfg_basehost = preg_replace('#/$#','',$cfg_basehost); $tnamerule = $cfg_basehost.MfTypedir($this->Fields['typedir']).'/'.$tnamerule;</span>