27 return $GLOBALS[
'__CacheWincache__'];
46 return self::$isSupport;
66 return wincache_ucache_set(md5(
_XE_PATH_ . $key), array($_SERVER[
'REQUEST_TIME'], $buff),
$valid_time);
77 function isValid($key, $modified_time = 0)
80 $obj = wincache_ucache_get($_key, $success);
81 if(!$success || !is_array(
$obj))
87 if($modified_time > 0 && $modified_time >
$obj[0])
104 function get($key, $modified_time = 0)
107 $obj = wincache_ucache_get($_key, $success);
108 if(!$success || !is_array(
$obj))
113 if($modified_time > 0 && $modified_time >
$obj[0])
130 wincache_ucache_delete($_key);
139 function delete($key)
152 return wincache_ucache_clear();
put($key, $buff, $valid_time=0)
if(file_exists(_XE_PATH_. 'config/config.user.inc.php')) if(!defined('__DEBUG__')) if(!defined('__DEBUG_OUTPUT__')) if(!defined('__DEBUG_PROTECT__')) if(!defined('__DEBUG_PROTECT_IP__')) if(!defined('__DEBUG_DB_OUTPUT__')) if(!defined('__LOG_SLOW_QUERY__')) if(!defined('__LOG_SLOW_TRIGGER__')) if(!defined('__LOG_SLOW_ADDON__')) if(!defined('__LOG_SLOW_WIDGET__')) if(!defined('__DEBUG_QUERY__')) if(!defined('__OB_GZHANDLER_ENABLE__')) if(!defined('__ENABLE_PHPUNIT_TEST__')) if(!defined('__PROXY_SERVER__')) if(!defined('__ERROR_LOG__')) if(!defined('__DISABLE_DEFAULT_CSS__')) if(!defined('__AUTO_OPCACHE_INVALIDATE__')) if((__DEBUG_OUTPUT__==2)&&version_compare(PHP_VERSION, '6.0.0')===-1) if(version_compare(PHP_VERSION, '5.3.0') >=0) $GLOBALS['__xe_autoload_file_map']
isValid($key, $modified_time=0)