Dedecms V5.7版本更新后,在前台网页底部会出现织梦版权信息 “powered by Dedecms”,很多人都不知道怎么去掉的(不建议你去掉,毕竟程序是人家开发的,你免费用了),因为这段代码并不存在于HTM模板中。
去除织梦底部的 powered by Dedecms版权信息:
sql.classs.PHP文件中找到第588行:
Highlighter_291739" class="SyntaxHighlighter " style="line-height:20px;width:704.875px;clear:both;color:#333333;white-space:normal;padding:1px !important;margin:1em 0px !important;border:0px !important;outline:0px !important;background-image:none !important;background-color:#FFFFFF !important;float:none !important;vertical-align:baseline !important;position:relative !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;font-family:'Courier New',Courier,monospace !important;min-height:inherit !important;">
Highlighter_572124" class="SyntaxHighlighter " style="line-height:20px;width:704.875px;clear:both;color:#333333;white-space:normal;padding:1px !important;margin:1em 0px !important;border:0px !important;outline:0px !important;background-image:none !important;background-color:#FFFFFF !important;float:none !important;vertical-align:baseline !important;position:relative !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;font-family:'Courier New',monospace !important;min-height:inherit !important;">();
文件并上传即可。大家如果觉得实在影响美观或者怕导出权重,建议去掉后在网页首页友情留个官方链接或者底部信息留个powered by Dedecms 不带链接即可,请大家尊重版权哈!