|
@@ -492,7 +492,7 @@ class XS extends XSComponent
|
|
|
if (function_exists('apc_fetch')) {
|
|
|
$cache = apc_fetch($cache_key);
|
|
|
$cache_write = 'apc_store';
|
|
|
- } elseif (function_exists('xcache_get') && php_sapi_name() !== 'dpcli') {
|
|
|
+ } elseif (function_exists('xcache_get') && php_sapi_name() !== 'cli') {
|
|
|
$cache = xcache_get($cache_key);
|
|
|
$cache_write = 'xcache_set';
|
|
|
} elseif (function_exists('eaccelerator_get')) {
|