Home > Backend Development > PHP Tutorial > Discuz X2.5 default background path modification method

Discuz X2.5 default background path modification method

WBOY
Release: 2016-07-25 09:13:37
Original
1427 people have browsed it
We can find that the default background path of Discuz X2.5 is admin.php, which is not safe, so we studied the modification of the default background path of Discuz X2.5:
The default path of discuz.x2.5 background is 127.0.0.1/admin.php, and the default path is admin.php.

1. Rename admin.php, such as abc.php
2. Then find the header.htm file in bbs/template/default/common, open it with Notepad and find admin.php - change it to the name you need, such as abc.php in the above example. After modifying abc.php in the previous step, you must also modify it to abc.php here. The front and back must be synchronized, otherwise you will not be able to enter the background. Then save and exit.

By opening the local: 127.0.0.1/abc.php-------, you can enter the background login box.
For space environment: domain name/abc.php--------- you can enter the background login box.
default, common


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