优化 Cache底部显示细节

This commit is contained in:
Discuz! 2017-02-08 15:19:11 +08:00
parent 64cfa85877
commit 5afd87a52f
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ class discuz_memory extends discuz_base
if(!$this->memory->enable) { if(!$this->memory->enable) {
$this->memory = null; $this->memory = null;
} else { } else {
$this->type = $cache; $this->type = $this->memory->cacheName;
$this->enable = true; $this->enable = true;
} }
} }

View File

@ -69,7 +69,7 @@
{lang time_now} {lang time_now}
<span id="debuginfo"> <span id="debuginfo">
<!--{if debuginfo()}-->, Processed in $_G[debuginfo][time] second(s), $_G[debuginfo][queries] queries <!--{if debuginfo()}-->, Processed in $_G[debuginfo][time] second(s), $_G[debuginfo][queries] queries
<!--{if $_G['gzipcompress']}-->, Gzip On<!--{/if}--><!--{if C::memory()->type}-->, <!--{echo ucwords(C::memory()->type)}--> On<!--{/if}-->. <!--{if $_G['gzipcompress']}-->, Gzip On<!--{/if}--><!--{if C::memory()->type}-->, <!--{echo C::memory()->type}--> On<!--{/if}-->.
<!--{/if}--> <!--{/if}-->
</span> </span>
</p> </p>