Home  >  Article  >  CMS Tutorial  >  How to remove the copyright tag that appears on the dedecms web page

How to remove the copyright tag that appears on the dedecms web page

尚
Original
2019-07-18 11:45:492594browse

How to remove the copyright tag that appears on the dedecms web page

How to remove or delete power by dedecms in Dreamweaver dedecms is as follows:

If power by dedecms or power by xxx appears in your web page. Just look for dedesql.class.php in the include/ directory. Then open.

Then check the code (it is best to use an editor like Dreamweaver, which will display the page number).

How to remove the copyright tag that appears on the dedecms web page

In the include/dedesql.class.php file, there will be a few extra pieces of code from lines 588 to 592 (you can also copy the following short piece of code to search), The code is roughly as follows:

$arrs1 = array(0x63,0x66,0x67,0x5f,0x70,0x6f,0x77,0x65,0x72,0x62,0x79);
 $arrs2 = array(0x20,0x3c,0x61,0x20,0x68,0x72,0x65,0x66,0x3d,0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f,
 0x77,0x77,0x77,0x2e,0x64,0x65,0x64,0x65,0x63,0x6d,0x73,0x2e,0x63,0x6f,0x6d,0x20,0x74,0x61,0x72,
 0x67,0x65,0x74,0x3d,0x27,0x5f,0x62,0x6c,0x61,0x6e,0x6b,0x27,0x3e,0x50,0x6f,0x77,0x65,0x72,0x20,
 0x62,0x79,0x20,0x44,0x65,0x64,0x65,0x43,0x6d,0x73,0x3c,0x2f,0x61,0x3e);

Delete or comment out this code directly, save the upload overlay, and then update the web page to remove power by dedecms from the web page.

For more technical articles related to DedeCMS, please visit the DedeCMS Tutorial column to learn!

The above is the detailed content of How to remove the copyright tag that appears on the dedecms web page. 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