仿 FreeDiscuz Lite 运行信息显示
作者: [url=http://www.freediscuz.net/bbs/viewthread.php?tid=516]http://www.freediscuz.net/bbs/viewthread.php?tid=516[/url]打开 .\templates\default\footer.htm 找到:
[code]
<!--{if debuginfo()}-->
<br>Processed in $debuginfo[time] second(s), $debuginfo[queries] queries<!--{if $gzipcompress}-->, Gzip enabled<!--{/if}-->
<!--{/if}-->
[/code]
删除!
继续找到:
[code]
<!--{if $wapstatus}--> - <a href="wap/" target="_blank" class="bold">WAP</a> <!--{/if}-->
[/code]
后面紧接着插入
[code]<!--{if debuginfo()}--> - <span class="bold" title="运行时间: $debuginfo[time] 秒{LF}数据查询: $debuginfo[queries] 次{LF}<!--{if $gzipcompress}-->Gzip状态: 启用<!--{else}-->Gzip状态: 未启用<!--{/if}-->">运行信息</span><!--{/if}-->[/code]
保存文件,更新缓存!OK!
[img]http://www.freediscuz.net/bbs/attachments/untitled_THwFIisoWOQZ.jpg[/img]
[img]http://www.freediscuz.net/bbs/attachments/untitled2_ATFffZLDQ3M9.jpg[/img]
[img]http://www.freediscuz.net/bbs/attachments/untitled3_AgEzw6gmQUbP.jpg[/img] 个人不喜欢啊 没什么用 但是还是支持你哈! 不喜欢啊:Q :Q
页:
[1]