From 2686457448372543fdf4f1fc54c4fd20f0f02c2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 7 Aug 2015 22:20:30 +0200 Subject: store estimated reading time / filters on reading time --- app/AppKernel.php | 1 + app/SymfonyRequirements.php | 2 +- app/check.php | 4 ++-- app/config/config.yml | 4 +++- 4 files changed, 7 insertions(+), 4 deletions(-) (limited to 'app') diff --git a/app/AppKernel.php b/app/AppKernel.php index 9a52f349..953614c0 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -25,6 +25,7 @@ class AppKernel extends Kernel new Wallabag\CoreBundle\WallabagCoreBundle(), new Wallabag\ApiBundle\WallabagApiBundle(), new Bazinga\Bundle\HateoasBundle\BazingaHateoasBundle(), + new Lexik\Bundle\FormFilterBundle\LexikFormFilterBundle(), ); if (in_array($this->getEnvironment(), array('dev', 'test'))) { diff --git a/app/SymfonyRequirements.php b/app/SymfonyRequirements.php index b9d62f72..abaf0c17 100644 --- a/app/SymfonyRequirements.php +++ b/app/SymfonyRequirements.php @@ -638,7 +638,7 @@ class SymfonyRequirements extends RequirementCollection } $this->addRecommendation( - class_exists('Locale'), + extension_loaded('intl'), 'intl extension should be available', 'Install and enable the intl extension (used for validators).' ); diff --git a/app/check.php b/app/check.php index 90bad4a7..60ae0a8b 100644 --- a/app/check.php +++ b/app/check.php @@ -42,9 +42,9 @@ foreach ($symfonyRequirements->getRecommendations() as $req) { } if ($checkPassed) { - echo_block('success', 'OK', 'Your system is ready to run Symfony2 projects', true); + echo_block('success', 'OK', 'Your system is ready to run Symfony2 projects'); } else { - echo_block('error', 'ERROR', 'Your system is not ready to run Symfony2 projects', true); + echo_block('error', 'ERROR', 'Your system is not ready to run Symfony2 projects'); echo_title('Fix the following mandatory requirements', 'red'); diff --git a/app/config/config.yml b/app/config/config.yml index 75e09039..1f5f7441 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -47,7 +47,9 @@ twig: version: %app.version% paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb" flattr_url: "https://flattr.com/thing/1265480" - + form: + resources: + - LexikFormFilterBundle:Form:form_div_layout.html.twig # Assetic Configuration assetic: debug: "%kernel.debug%" -- cgit v1.2.3