Home  >  Article  >  Backend Development  >  css - Problems caused by thinkphp module binding

css - Problems caused by thinkphp module binding

WBOY
WBOYOriginal
2016-08-04 09:22:12774browse

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

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