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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:37:26
Original
1192 people have browsed it

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

回复内容:

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

<code>    C('VAR_PAGE')
</code>
Copy after login

配置里加

Related labels:
Statement of this Website
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
Latest Issues
Why thinkphp has better performance than laravel?
From 1970-01-01 08:00:00
0
0
0
ThinkPHP Why use composer?
From 1970-01-01 08:00:00
0
0
0
thinkphp versions supported by php6
From 1970-01-01 08:00:00
0
0
0
thinkphp upload files
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template