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

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

王林
王林Original
2020-02-08 14:54:012327browse

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(); //此代码注释即可

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!

Statement:
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
Previous article:Why choose phpcmsNext article:Why choose phpcms