dede织梦如何删除版权powered by?

dede织梦如何删除版权powered by?在织梦中,特别是在仿站之中,经常会在首页的底部出现powered by,这是dedecms织梦系统底部自带的官方链接power by等字样,很多新用户想去除官方的这个链接,改为自己的调用模式{dede:global.cfg_poweby/},但是在模板之中却找不到,那么该如何去掉呢?

  其实这并不是在模板之中的,而是在php的文件之中,现在告诉大家如何处理:

  在include/dedesql.class.php文件中找到第588行:

$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);
  改成:

$arrs1 = array();
$arrs2 = array();

  好了,然后保存文件并上传即可,就不会再看到这个官方自带的版权信息了,可以调用自己织梦后台的版权信息,标签为:{dede:global.cfg_powerby/}。

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注