Ailoli

解决Typecho中Archives页面不能传参数的问题
在/var/Widget/Archive.php文件下protected function checkPermal...
扫描右侧二维码阅读全文
02
2018/08

解决Typecho中Archives页面不能传参数的问题

/var/Widget/Archive.php

文件下

protected function checkPermalink

这个方法中的

if ($src['host'] != $target['host'] || urldecode($src['path']) != urldecode($target['path'])) {

下面这一条注释掉就可以传参数了

$this->response->redirect($permalink, true);
Last modification:August 2nd, 2018 at 06:30 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment