* Fix typo.

This commit is contained in:
Lufei
2023-06-09 10:19:34 +08:00
parent 834648941e
commit 80877816f4
+1 -1
View File
@@ -368,7 +368,7 @@ class helper extends baseHelper
*/
public static function isCacheEnabled()
{
if(isset($_GET['_nocace']) || isset($_SERVER['HTTP_X_ZT_REFRESH'])) return false;
if(isset($_GET['_nocache']) || isset($_SERVER['HTTP_X_ZT_REFRESH'])) return false;
global $config;
return $config->cache->enable;
}