Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the phpcms background?

2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Today, I will talk to you about what is phpcms backstage, many people may not know much about it. In order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.

The background address of phpcms is "your domain name / admin.php". Because PHPCMS adopts the design mode of MVC, its background access address is fixed. Although it can be modified by modifying the routing configuration file, it will be troublesome to modify the routing configuration file every time.

The default background address of phpcms is: "your domain name / admin.php".

The newly released PHPCMS V9 uses the MVC design pattern, so its background access address is fixed. Although it can be modified by modifying the routing configuration file, it is a bit troublesome for me to modify the routing configuration file every time, and it will make mistakes if I am not careful. Here, another method is used once and for all to facilitate the modification of access to the backend entry. The whole modification is divided into two steps:

Step one:

Create a folder in the root directory of the website, and then enter the background login interface through this folder, so the folder name should be a name that is not easy for people to guess. Here as a demonstration, I will take it as managers. Next, create a new file index.php in this folder with the following contents:

All right, the modification is complete. In the future, you can only access the background login entry through the managers/ directory. If you use index.php?m=admin directly, you will jump directly to the home page of the website, thus preventing the direct access to the background login entry.

After reading the above, do you have any further understanding of what is phpcms background? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report