|
@@ 3293-3299 (lines=7) @@
|
| 3290 |
|
apcu_store($key . 'smf', $value, $ttl); |
| 3291 |
|
} |
| 3292 |
|
break; |
| 3293 |
|
case 'zend': |
| 3294 |
|
// Zend Platform/ZPS/etc. |
| 3295 |
|
if (function_exists('zend_shm_cache_store')) |
| 3296 |
|
zend_shm_cache_store('SMF::' . $key, $value, $ttl); |
| 3297 |
|
elseif (function_exists('output_cache_put')) |
| 3298 |
|
output_cache_put($key, $value); |
| 3299 |
|
break; |
| 3300 |
|
case 'xcache': |
| 3301 |
|
if (function_exists('xcache_set') && ini_get('xcache.var_size') > 0) |
| 3302 |
|
{ |
|
@@ 3395-3401 (lines=7) @@
|
| 3392 |
|
if (function_exists('apcu_fetch')) |
| 3393 |
|
$value = apcu_fetch($key . 'smf'); |
| 3394 |
|
break; |
| 3395 |
|
case 'zend': |
| 3396 |
|
// Zend's pricey stuff. |
| 3397 |
|
if (function_exists('zend_shm_cache_fetch')) |
| 3398 |
|
$value = zend_shm_cache_fetch('SMF::' . $key); |
| 3399 |
|
elseif (function_exists('output_cache_get')) |
| 3400 |
|
$value = output_cache_get($key, $ttl); |
| 3401 |
|
break; |
| 3402 |
|
case 'xcache': |
| 3403 |
|
if (function_exists('xcache_get') && ini_get('xcache.var_size') > 0) |
| 3404 |
|
$value = xcache_get($key); |