This commit is contained in:
gRoussac
2013-09-02 10:49:50 +02:00
parent 6dc0edec3a
commit 397e42637a
+1 -1
View File
@@ -34,7 +34,7 @@ class CacheApcCore extends Cache
public function __construct()
{
$this->keys = array();
$cache_info = apc_cache_info( ( extension_loaded('apcu') === true ) ? '' : 'user' );
$cache_info = apc_cache_info((extension_loaded('apcu') === true )? '' : 'user' );
foreach ($cache_info['cache_list'] as $entry)
if ( extension_loaded('apcu') === true )
$this->keys[$entry['key']] = $entry['ttl'];