root 9 years ago
parent
commit
d49740503a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/framework/function/core.php

+ 1 - 1
core/framework/function/core.php

@@ -1716,7 +1716,7 @@ function rcache($key = null, $prefix = '', $fields = '*')
         $data = array($fields => $cache_info);
     }
     // 验证缓存是否过期
-    if (isset($data['cache_expiration_time']) && $data['cache_expiration_time'] < TIMESTAMP) {
+    if (isset($data['cache_expiration_time']) && $data['cache_expiration_time'] < time()) {
         $data = array();
     }
     return $data;