aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/SymfonyRequirements.php
diff options
context:
space:
mode:
authorJeremy Benoist <j0k3r@users.noreply.github.com>2015-11-02 07:52:28 +0100
committerJeremy Benoist <j0k3r@users.noreply.github.com>2015-11-02 07:52:28 +0100
commit3d9ccf9390f35e73428ebf42258253c6808f1590 (patch)
treecf47285f0c7f8398d62f63b8bfa461bb0b9f3f50 /app/SymfonyRequirements.php
parente686b5e6fe37b476d70eeadce34616d65572245b (diff)
parent386cd24663f9b6384372ef4f78a7f3100f06057d (diff)
downloadwallabag-3d9ccf9390f35e73428ebf42258253c6808f1590.tar.gz
wallabag-3d9ccf9390f35e73428ebf42258253c6808f1590.tar.zst
wallabag-3d9ccf9390f35e73428ebf42258253c6808f1590.zip
Merge pull request #1505 from wallabag/v2-graby-log
Add graby log
Diffstat (limited to 'app/SymfonyRequirements.php')
-rw-r--r--app/SymfonyRequirements.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/app/SymfonyRequirements.php b/app/SymfonyRequirements.php
index abaf0c17..28b0dcdb 100644
--- a/app/SymfonyRequirements.php
+++ b/app/SymfonyRequirements.php
@@ -447,6 +447,12 @@ class SymfonyRequirements extends RequirementCollection
447 } 447 }
448 448
449 $this->addRequirement( 449 $this->addRequirement(
450 function_exists('iconv'),
451 'iconv() must be available',
452 'Install and enable the <strong>iconv</strong> extension.'
453 );
454
455 $this->addRequirement(
450 function_exists('json_encode'), 456 function_exists('json_encode'),
451 'json_encode() must be available', 457 'json_encode() must be available',
452 'Install and enable the <strong>JSON</strong> extension.' 458 'Install and enable the <strong>JSON</strong> extension.'
@@ -546,10 +552,10 @@ class SymfonyRequirements extends RequirementCollection
546 require_once __DIR__.'/../vendor/autoload.php'; 552 require_once __DIR__.'/../vendor/autoload.php';
547 553
548 try { 554 try {
549 $r = new \ReflectionClass('Sensio\Bundle\DistributionBundle\SensioDistributionBundle'); 555 $r = new ReflectionClass('Sensio\Bundle\DistributionBundle\SensioDistributionBundle');
550 556
551 $contents = file_get_contents(dirname($r->getFileName()).'/Resources/skeleton/app/SymfonyRequirements.php'); 557 $contents = file_get_contents(dirname($r->getFileName()).'/Resources/skeleton/app/SymfonyRequirements.php');
552 } catch (\ReflectionException $e) { 558 } catch (ReflectionException $e) {
553 $contents = ''; 559 $contents = '';
554 } 560 }
555 $this->addRecommendation( 561 $this->addRecommendation(