aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-08-07 22:20:30 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-08-12 09:01:29 +0200
commit2686457448372543fdf4f1fc54c4fd20f0f02c2c (patch)
tree485eeecc3bd3db3613d47de25662d5c9163e4afe /app
parentfedaf005377e6d62ff0986f7f54afef3287a6451 (diff)
downloadwallabag-2686457448372543fdf4f1fc54c4fd20f0f02c2c.tar.gz
wallabag-2686457448372543fdf4f1fc54c4fd20f0f02c2c.tar.zst
wallabag-2686457448372543fdf4f1fc54c4fd20f0f02c2c.zip
store estimated reading time / filters on reading time
Diffstat (limited to 'app')
-rw-r--r--app/AppKernel.php1
-rw-r--r--app/SymfonyRequirements.php2
-rw-r--r--app/check.php4
-rw-r--r--app/config/config.yml4
4 files changed, 7 insertions, 4 deletions
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
25 new Wallabag\CoreBundle\WallabagCoreBundle(), 25 new Wallabag\CoreBundle\WallabagCoreBundle(),
26 new Wallabag\ApiBundle\WallabagApiBundle(), 26 new Wallabag\ApiBundle\WallabagApiBundle(),
27 new Bazinga\Bundle\HateoasBundle\BazingaHateoasBundle(), 27 new Bazinga\Bundle\HateoasBundle\BazingaHateoasBundle(),
28 new Lexik\Bundle\FormFilterBundle\LexikFormFilterBundle(),
28 ); 29 );
29 30
30 if (in_array($this->getEnvironment(), array('dev', 'test'))) { 31 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
638 } 638 }
639 639
640 $this->addRecommendation( 640 $this->addRecommendation(
641 class_exists('Locale'), 641 extension_loaded('intl'),
642 'intl extension should be available', 642 'intl extension should be available',
643 'Install and enable the <strong>intl</strong> extension (used for validators).' 643 'Install and enable the <strong>intl</strong> extension (used for validators).'
644 ); 644 );
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) {
42} 42}
43 43
44if ($checkPassed) { 44if ($checkPassed) {
45 echo_block('success', 'OK', 'Your system is ready to run Symfony2 projects', true); 45 echo_block('success', 'OK', 'Your system is ready to run Symfony2 projects');
46} else { 46} else {
47 echo_block('error', 'ERROR', 'Your system is not ready to run Symfony2 projects', true); 47 echo_block('error', 'ERROR', 'Your system is not ready to run Symfony2 projects');
48 48
49 echo_title('Fix the following mandatory requirements', 'red'); 49 echo_title('Fix the following mandatory requirements', 'red');
50 50
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:
47 version: %app.version% 47 version: %app.version%
48 paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb" 48 paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb"
49 flattr_url: "https://flattr.com/thing/1265480" 49 flattr_url: "https://flattr.com/thing/1265480"
50 50 form:
51 resources:
52 - LexikFormFilterBundle:Form:form_div_layout.html.twig
51# Assetic Configuration 53# Assetic Configuration
52assetic: 54assetic:
53 debug: "%kernel.debug%" 55 debug: "%kernel.debug%"