Remove wincache and xcache drivers - they are no longer maintained for PHP 7.2+

This commit is contained in:
Kijin Sung 2022-12-30 00:16:06 +09:00
parent 8234fd5c7b
commit 2437de31f3
4 changed files with 3 additions and 348 deletions

View file

@ -51,7 +51,7 @@ class Cache
}
$config = isset($config['servers']) ? $config['servers'] : array();
}
elseif (preg_match('/^(apc|dummy|memcached?|redis|sqlite|wincache|xcache)/', strval(array_first($config)), $matches))
elseif (preg_match('/^(apc|dummy|memcached?|redis|sqlite)/', strval(array_first($config)), $matches))
{
$driver_name = $matches[1] . ($matches[1] === 'memcache' ? 'd' : '');
$class_name = '\\Rhymix\\Framework\\Drivers\\Cache\\' . $driver_name;