diff --git a/app/Resources/CraueConfigBundle/views/Settings/modify.html.twig b/app/Resources/CraueConfigBundle/views/Settings/modify.html.twig
index c4e735ee0..b81b86510 100644
--- a/app/Resources/CraueConfigBundle/views/Settings/modify.html.twig
+++ b/app/Resources/CraueConfigBundle/views/Settings/modify.html.twig
@@ -20,12 +20,10 @@
{% for section in sections | craue_sortSections %}
- {% for setting in form.settings if setting.section.vars.value == section %}
- {{ form_row(setting.name) }}
- {{ form_row(setting.section) }}
- {{ form_row(setting.value, {
- 'label': setting.name.vars.value | trans({}, 'CraueConfigBundle'),
- }) }}
+ {% for setting in form.settings if setting.vars.value.section == section %}
+ {{ form_row(setting.value, {
+ 'label': setting.vars.value.name | trans({}, 'CraueConfigBundle'),
+ }) }}
{% endfor %}
{% endfor %}
diff --git a/app/config/config.yml b/app/config/config.yml
index 116bb04c1..28abe7340 100644
--- a/app/config/config.yml
+++ b/app/config/config.yml
@@ -6,6 +6,7 @@ imports:
parameters:
# Allows to use the live reload feature for changes in assets
use_webpack_dev_server: false
+ craue_config.cache_adapter.class: Craue\ConfigBundle\CacheAdapter\SymfonyCacheComponentAdapter
framework:
#esi: ~
diff --git a/app/config/services.yml b/app/config/services.yml
index 9a1ce80b4..7b85d846b 100644
--- a/app/config/services.yml
+++ b/app/config/services.yml
@@ -42,3 +42,11 @@ services:
arguments: ["@session"]
tags:
- { name: kernel.event_listener, event: security.interactive_login, method: onInteractiveLogin }
+
+ craue_config_cache_provider:
+ class: Symfony\Component\Cache\Adapter\FilesystemAdapter
+ public: false
+ arguments:
+ - 'craue_config'
+ - 0
+ - '%kernel.cache_dir%'
diff --git a/composer.json b/composer.json
index bfd42339b..02a79853f 100644
--- a/composer.json
+++ b/composer.json
@@ -75,7 +75,7 @@
"guzzlehttp/guzzle": "^5.3.1",
"doctrine/doctrine-migrations-bundle": "^1.0",
"paragonie/random_compat": "~1.0",
- "craue/config-bundle": "~1.4",
+ "craue/config-bundle": "~2.0",
"mnapoli/piwik-twig-extension": "^1.0",
"ocramius/proxy-manager": "1.*",
"white-october/pagerfanta-bundle": "^1.0",
diff --git a/var/SymfonyRequirements.php b/var/SymfonyRequirements.php
index 7e7a99de9..3b14a4022 100644
--- a/var/SymfonyRequirements.php
+++ b/var/SymfonyRequirements.php
@@ -633,12 +633,6 @@ class SymfonyRequirements extends RequirementCollection
'Install and enable the mbstring extension.'
);
- $this->addRecommendation(
- function_exists('iconv'),
- 'iconv() should be available',
- 'Install and enable the iconv extension.'
- );
-
$this->addRecommendation(
function_exists('utf8_decode'),
'utf8_decode() should be available',