css - Problems caused by thinkphp module binding

WBOY
Release: 2016-08-04 09:22:12
Original
883 people have browsed it

The module is bound to admin in admin.php
The result is as shown in the picture
css - Problems caused by thinkphp module binding

But after clicking on the link generated using the U method in the sidebar, it still jumps to the home module
css - Problems caused by thinkphp module binding

Reply content:

The module is bound to admin in admin.php
The result is as shown in the picture
css - Problems caused by thinkphp module binding

But after clicking on the link generated using the U method in the sidebar, it still jumps to the home module
css - Problems caused by thinkphp module binding

Modify the configuration and define it in Admin.php. Do not hide index.php. At this time, admin.php/xxx/xxx will be displayed and it will be ugly. At this time, forcefully turn off UrlPath in admin and use the original Get instead. The front desk will not work. Affected,.

The cause of the problem was found. I configured 'URL_MODEL'=>2 in the public configuration of both the front and backend, which caused the url in the backend to be rewritten

Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!