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

Phpcms removes the backstage announcement of a website by modifying the code

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

Share

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

Phpcms by modifying the code to remove the website background announcement method? This problem may be our daily study or work often see. I hope you learned something from this question. The following is the reference content brought to you by Xiaobian. Let's take a look together!

First open the phpcms/modules/admin/functions/admin.func.php file (recommended to use an advanced editor)

Then find the following two lines of code comments and delete them:

//$update = pc_base::load_sys_class ('update '); //comment on this code//$notice_url = $update->notice(); //comment on this code

Delete it and upload it to the corresponding file directory to overwrite the previous file.

Finally login website background update system cache, exit re-login can see that the announcement has been completely deleted.

Thank you for reading! After reading the above, do you know about phpcms's method of removing website background announcements by modifying the code? I hope the content of this article is helpful to everyone. If you want to know more about related articles, please pay attention to the industry information channel.

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