mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
Remove wincache and xcache drivers - they are no longer maintained for PHP 7.2+
This commit is contained in:
parent
8234fd5c7b
commit
2437de31f3
4 changed files with 3 additions and 348 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue