: This article describes how to modify the background path of PHPCMS. For more information about PHP tutorials, see. I have found many ways to modify the background path of phpcms on the Internet, but it is too complicated (personal feeling). I finally found a relatively simple modification method. I would like to share with you here, hope to learn from each other.
Step 1:
Create a folder in the root directory of the website, and then enter the background logon interface through this folder, so the folder name should be a name that is not easy to guess. Here is a demo. I will use adminweb. Next, create a new file index. php in this folder with the following content:
Step 2:
Create a new file MY_index.php in the phpcms/modules/admin/folder with the following content:
In this way, it only takes two places to modify it. you do not need to take so many steps, and the website background can only be accessed through/adminweb, so that it is not easy to find your background Portal, note that if you log on with/adminweb. php
The above describes the simple method for modifying the background path of PHPCMS, including some content. I hope to help some friends who are interested in PHP tutorials.