Home >Backend Development >PHP Tutorial >Thinkphp改变分页get,如/p/1.html改成/page/1.html

Thinkphp改变分页get,如/p/1.html改成/page/1.html

WBOY
WBOYOriginal
2016-06-06 20:37:261141browse

如标题所示改变分页get,如/p/1.html改成/page/1.html
这两个分页在同一个页面哦,不能通过配置项改变吧,还有什么办法呢

回复内容:

如标题所示改变分页get,如/p/1.html改成/page/1.html
这两个分页在同一个页面哦,不能通过配置项改变吧,还有什么办法呢

<code>    C('VAR_PAGE')
</code>

配置里加

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn