commit 237cd59e82b3bc105bd8d1d60bd681202dffb0af
parent 58527c6b3916ae50283e7134fb5f46e8998c17db
Author: Felicitus <felicitus@felicitus.org>
Date: Fri, 27 Nov 2015 19:32:25 +0100
Added APC mapping cache, related to #506
Diffstat:
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/app/PartKeeprRequirements.php b/app/PartKeeprRequirements.php
@@ -31,6 +31,12 @@ class PartKeeprRequirements extends SymfonyRequirements
$this->checkWritable(realpath(dirname(__FILE__)."/../web/"));
$this->addRequirement(
+ function_exists("apc_fetch"),
+ sprintf('PHP APCu cache not found'),
+ sprintf('Install the PHP APCu cache')
+ );
+
+ $this->addRequirement(
function_exists("mb_convert_case"),
sprintf('The PHP function mb_convert_case does not exist.'),
sprintf('Please compile PHP with the mbstring functions in case you are using Gentoo, or install php-mbstring on RedHat, Fedora or CentOS.')
diff --git a/app/config/config_dunglas.yml b/app/config/config_dunglas.yml
@@ -6,3 +6,4 @@ dunglas_api:
items_per_page:
client_can_change: true
supported_formats: [ "jsonld", "csv", "xlsx" ]
+ cache: api.mapping.cache.apc