mirror of
https://github.com/wallabag/wallabag.git
synced 2025-02-16 18:55:15 +00:00
Upgraded CraueConfigBundle to 2.0
This commit is contained in:
parent
06568b15bb
commit
3b792787d7
5 changed files with 14 additions and 13 deletions
|
@ -20,12 +20,10 @@
|
||||||
|
|
||||||
{% for section in sections | craue_sortSections %}
|
{% for section in sections | craue_sortSections %}
|
||||||
<div id="set-{{ section }}" class="col s12">
|
<div id="set-{{ section }}" class="col s12">
|
||||||
{% for setting in form.settings if setting.section.vars.value == section %}
|
{% for setting in form.settings if setting.vars.value.section == section %}
|
||||||
{{ form_row(setting.name) }}
|
{{ form_row(setting.value, {
|
||||||
{{ form_row(setting.section) }}
|
'label': setting.vars.value.name | trans({}, 'CraueConfigBundle'),
|
||||||
{{ form_row(setting.value, {
|
}) }}
|
||||||
'label': setting.name.vars.value | trans({}, 'CraueConfigBundle'),
|
|
||||||
}) }}
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -6,6 +6,7 @@ imports:
|
||||||
parameters:
|
parameters:
|
||||||
# Allows to use the live reload feature for changes in assets
|
# Allows to use the live reload feature for changes in assets
|
||||||
use_webpack_dev_server: false
|
use_webpack_dev_server: false
|
||||||
|
craue_config.cache_adapter.class: Craue\ConfigBundle\CacheAdapter\SymfonyCacheComponentAdapter
|
||||||
|
|
||||||
framework:
|
framework:
|
||||||
#esi: ~
|
#esi: ~
|
||||||
|
|
|
@ -42,3 +42,11 @@ services:
|
||||||
arguments: ["@session"]
|
arguments: ["@session"]
|
||||||
tags:
|
tags:
|
||||||
- { name: kernel.event_listener, event: security.interactive_login, method: onInteractiveLogin }
|
- { 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%'
|
||||||
|
|
|
@ -75,7 +75,7 @@
|
||||||
"guzzlehttp/guzzle": "^5.3.1",
|
"guzzlehttp/guzzle": "^5.3.1",
|
||||||
"doctrine/doctrine-migrations-bundle": "^1.0",
|
"doctrine/doctrine-migrations-bundle": "^1.0",
|
||||||
"paragonie/random_compat": "~1.0",
|
"paragonie/random_compat": "~1.0",
|
||||||
"craue/config-bundle": "~1.4",
|
"craue/config-bundle": "~2.0",
|
||||||
"mnapoli/piwik-twig-extension": "^1.0",
|
"mnapoli/piwik-twig-extension": "^1.0",
|
||||||
"ocramius/proxy-manager": "1.*",
|
"ocramius/proxy-manager": "1.*",
|
||||||
"white-october/pagerfanta-bundle": "^1.0",
|
"white-october/pagerfanta-bundle": "^1.0",
|
||||||
|
|
|
@ -633,12 +633,6 @@ class SymfonyRequirements extends RequirementCollection
|
||||||
'Install and enable the <strong>mbstring</strong> extension.'
|
'Install and enable the <strong>mbstring</strong> extension.'
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->addRecommendation(
|
|
||||||
function_exists('iconv'),
|
|
||||||
'iconv() should be available',
|
|
||||||
'Install and enable the <strong>iconv</strong> extension.'
|
|
||||||
);
|
|
||||||
|
|
||||||
$this->addRecommendation(
|
$this->addRecommendation(
|
||||||
function_exists('utf8_decode'),
|
function_exists('utf8_decode'),
|
||||||
'utf8_decode() should be available',
|
'utf8_decode() should be available',
|
||||||
|
|
Loading…
Reference in a new issue