mirror of
https://github.com/getgrav/grav.git
synced 2026-02-24 07:31:30 +01:00
Removed apc and xcache support, made apc alias of apcu
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
* Added index file support for Flex Objects
|
||||
1. [](#improved)
|
||||
* Improved error detection for broken Flex Objects
|
||||
* Removed apc and xcache support, made apc alias of apcu
|
||||
|
||||
# v1.6.0-rc.1
|
||||
## 01/30/2019
|
||||
@@ -12,14 +13,12 @@
|
||||
1. [](#improved)
|
||||
* Improved `$page->forms()` call, added `$page->addForms()`
|
||||
* Made `FormFlashFile` more robust against deleted files
|
||||
* Removed apc and xcache support, made apc alias of apcu
|
||||
* Updated languages from crowdin
|
||||
1. [](#bugfix)
|
||||
* Fixed a bug in `FormFlashFile::moveTo()` not deleting the old file
|
||||
* Fixed `FlexMediaTrait::getMedia()` trying to include uploaded but already moved media
|
||||
* Fixed `ImageMedium` constructor warning when file does not exist
|
||||
* Fixed bad host header in PSR-7 (if using 'php -S localhost:8000 system/router.php')
|
||||
* Fixed Getters::count() method not returning anything
|
||||
* Fixed non-namespaced exceptions in scheduler
|
||||
|
||||
# v1.6.0-beta.8
|
||||
|
||||
@@ -212,12 +212,8 @@ class Cache extends Getters
|
||||
if (!$setting || $setting === 'auto') {
|
||||
if (extension_loaded('apcu')) {
|
||||
$driver_name = 'apcu';
|
||||
} elseif (extension_loaded('apc')) {
|
||||
$driver_name = 'apc';
|
||||
} elseif (extension_loaded('wincache')) {
|
||||
$driver_name = 'wincache';
|
||||
} elseif (extension_loaded('xcache')) {
|
||||
$driver_name = 'xcache';
|
||||
}
|
||||
} else {
|
||||
$driver_name = $setting;
|
||||
@@ -227,9 +223,6 @@ class Cache extends Getters
|
||||
|
||||
switch ($driver_name) {
|
||||
case 'apc':
|
||||
$driver = new DoctrineCache\ApcCache();
|
||||
break;
|
||||
|
||||
case 'apcu':
|
||||
$driver = new DoctrineCache\ApcuCache();
|
||||
break;
|
||||
@@ -238,10 +231,6 @@ class Cache extends Getters
|
||||
$driver = new DoctrineCache\WinCacheCache();
|
||||
break;
|
||||
|
||||
case 'xcache':
|
||||
$driver = new DoctrineCache\XcacheCache();
|
||||
break;
|
||||
|
||||
case 'memcache':
|
||||
$memcache = new \Memcache();
|
||||
$memcache->connect($this->config->get('system.cache.memcache.server', 'localhost'),
|
||||
|
||||
Reference in New Issue
Block a user