diff options
author | Christian Schneider | 2015-07-21 15:15:35 +0200 |
---|---|---|
committer | Christian Schneider | 2015-07-21 15:15:35 +0200 |
commit | a0e42b150e54052d710187c4c72a5ba231b99b7d (patch) | |
tree | 69b0787da6e1ffdd9962b7c30ca23b650db4b369 /it_cache.class | |
parent | 7410b5205ed9eb7fd9d9e13430796e720bb9d8ce (diff) | |
download | itools-a0e42b150e54052d710187c4c72a5ba231b99b7d.tar.gz itools-a0e42b150e54052d710187c4c72a5ba231b99b7d.tar.bz2 itools-a0e42b150e54052d710187c4c72a5ba231b99b7d.zip |
Remove eaccelerator, supported are now apc/apcu
Diffstat (limited to 'it_cache.class')
-rw-r--r-- | it_cache.class | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/it_cache.class b/it_cache.class index 1a1ea02..ff4dd33 100644 --- a/it_cache.class +++ b/it_cache.class @@ -76,7 +76,6 @@ static function put($key, $value, $p = array()) } else { - function_exists("eaccelerator_gc") && eaccelerator_gc(); $success = ($func = self::$_store_func) ? $func($key, $value, $p['ttl']) : null; } @@ -107,7 +106,7 @@ static function _get_memcache($p) } -it_cache::$_fetch_func = function_exists("apcu_fetch") ? "apcu_fetch" : (function_exists("apc_fetch") ? "apc_fetch" : (function_exists("eaccelerator_get") ? "eaccelerator_get" : null)); -it_cache::$_store_func = function_exists("apcu_store") ? "apcu_store" : (function_exists("apc_store") ? "apc_store" : (function_exists("eaccelerator_put") ? "eaccelerator_put" : null)); +it_cache::$_fetch_func = function_exists("apcu_fetch") ? "apcu_fetch" : (function_exists("apc_fetch") ? "apc_fetch" : null); +it_cache::$_store_func = function_exists("apcu_store") ? "apcu_store" : (function_exists("apc_store") ? "apc_store" : null); ?> |