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 should be paid attention to in the secondary development of Imperial CMS

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly introduces what the secondary development of Imperial CMS needs to pay attention to, which can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.

1. Do not change in the original system

Plug-ins with no vulnerabilities are recommended to be done independently and will not be changed in the original system. For example, today's AJAX login, registration, download, do not need AJAX can also log in and download, and even if users find the old login connection, the old registration address, the old download address, there will be no loopholes.

2. Write all the code in your own file

If you do not change the original system file will be a loophole, then do not write a piece of code in the original file, write all the code in your own file, in terms of functions, reference the file to the appropriate location, insert the function where you want to change and comment it.

3. Some file systems will be regenerated. The code should not be handwritten into these files.

We all know that e/class/config.php is a configuration file (ecms7.0 version is e/config/config.php), which contains the whole site parameter settings, model information, etc., which is often updated, and no one writes the code here.

4. Do not misplace the files created by yourself

The directory structure used by trylife so far is as follows:

E/trylife/common/ places the commonly used PHP function files of the commonly used JQuery js plug-ins

E/trylife/ plug-in 1 English directory name / js php html and other files that are unique to this plug-in

E/trylife/ plugin 2 English directory name /

.

E/trylife/ plug-in n English directory name /

Thank you for reading this article carefully. I hope the editor will share what you need to pay attention to in the secondary development of Imperial CMS. At the same time, I also hope that you will support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!

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