mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
Cache类的get方法增加默认值参数
This commit is contained in:
@@ -173,7 +173,7 @@ class Template
|
||||
if (!empty($this->config['cache_id']) && $this->config['display_cache']) {
|
||||
// 读取渲染缓存
|
||||
$cacheContent = Cache::get($this->config['cache_id']);
|
||||
if (!is_null($cacheContent)) {
|
||||
if (false !== $cacheContent) {
|
||||
echo $cacheContent;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user