Merge pull request #117 from Alphix/make_apcu_explicit

[snappymail] Fix ACPU support
This commit is contained in:
the-djmaze 2021-08-22 00:11:29 +02:00 committed by GitHub
commit 05af650a29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -252,7 +252,7 @@ enable = On
; Additional caching key. If changed, cache is purged
index = "v1"
; Can be: files, APC, memcache, redis (beta)
; Can be: files, APCU, memcache, redis (beta)
fast_cache_driver = "files"
; Additional caching key. If changed, fast cache is purged
@ -356,4 +356,4 @@ dev_password = ""
[version]
current = "1.14.0"
saved = "Wed, 08 Apr 2020 16:37:27 +0000"
saved = "Wed, 08 Apr 2020 16:37:27 +0000"

View file

@ -690,7 +690,7 @@ class Actions
\MailSo\Base\Utils::FunctionExistsAndEnabled(array(
'apcu_store', 'apcu_fetch', 'apcu_delete', 'apcu_clear_cache')):
$oDriver = new \MailSo\Cache\Drivers\APC($sKey);
$oDriver = new \MailSo\Cache\Drivers\APCU($sKey);
break;
case ('MEMCACHE' === $sDriver || 'MEMCACHED' === $sDriver) &&

View file

@ -301,7 +301,7 @@ Enables caching in the system'),
'index' => array('v1', 'Additional caching key. If changed, cache is purged'),
'fast_cache_driver' => array('files', 'Can be: files, APC, memcache, redis (beta)'),
'fast_cache_driver' => array('files', 'Can be: files, APCU, memcache, redis (beta)'),
'fast_cache_index' => array('v1', 'Additional caching key. If changed, fast cache is purged'),
'http' => array(true, 'Browser-level cache. If enabled, caching is maintainted without using files'),