Home > CMS Tutorial > PHPCMS > How does phpcms remove website backend announcements by modifying the code?

How does phpcms remove website backend announcements by modifying the code?

王林
Release: 2020-02-08 14:54:01
Original
2364 people have browsed it

How does phpcms remove website backend announcements by modifying the code?

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

Then find the following two lines of code and comment them Delete:

//$update = pc_base::load_sys_class(‘update’); //此代码注释即可 
//$notice_url = $update->notice(); //此代码注释即可
Copy after login

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

Lastly log in to the website background to update the system cache. Log out and log in again to see that the announcement has been completely deleted.

Recommended related articles and tutorials: phpcms tutorial

The above is the detailed content of How does phpcms remove website backend announcements by modifying the code?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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