fudyou 发表于 2022-6-29 15:23:49

Discuz 删除 Powered by Discuz! 以及 Copyright © 2001-2021, Tencent C...

1.定位到./template/default/common/header_common.htm
找到以下代码:第6行,然后删除。
    <title><!--{if !empty($navtitle)}-->$navtitle - <!--{/if}--><!--{if empty($nobbname)}--> $_G['setting']['bbname'] - <!--{/if}--> Powered by Discuz!</title>
2.定位到./template/default/common/footer.htm
找到以下代码:第75-76行,然后删除。
            <p>Powered by <strong><a href="http://www.discuz.net" target="_blank">Discuz!</a></strong> <em>$_G['setting']['version']</em><!--{if !empty($_G['setting']['boardlicensed'])}--> <a href="http://license.comsenz.com/?pid=1&host=$_SERVER" target="_blank">Licensed</a><!--{/if}--></p>
            <p class="xs0">Copyright &copy; 2001-2021, Tencent Cloud.</p>
3.定位到./source/archiver/common/header.php
找到以下代码:第13、18、19、20行,然后删除。
<title><?php if(!empty($navtitle)): echo $navtitle.' - '; endif; if(empty($nobbname)): echo $_G['setting']['bbname'].' - '; endif;?> Powered by xyh-moon Archiver</title>
<meta name="generator" content="Discuz! <?php echo $_G['setting']['version']; ?>" />
<meta name="author" content="Discuz! Team and Comsenz UI Team" />
<meta name="copyright" content="2001-2021, xyh-moon." />

4.定位到./source/archiver/common/footer.php
找到以下代码:第9-13行,然后删除。
      <div id="footer">
                Powered by <strong><a target="_blank" href="https://xyh-moon.com:5005">Discuz! <?php echo $_G['setting']['version']; ?> Archiver</a></strong>   Copyright © 2001-2021, xyh-moon
                <br />
                <br />
      </div>不会的可以直接下载附件替换原文件。
页: [1]
查看完整版本: Discuz 删除 Powered by Discuz! 以及 Copyright &copy; 2001-2021, Tencent C...