From f347c49a3448057c9cbe340c37598eed22c7a81d Mon Sep 17 00:00:00 2001 From: Awilum Date: Thu, 9 Jun 2022 22:31:10 +0300 Subject: [PATCH] =?UTF-8?q?feat(core):=20add=20ability=20to=20set=20custom?= =?UTF-8?q?=20cache=20id=20string=20and=20settings=20cache=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/flextype/core/Parsers/Textile.php | 2 +- src/flextype/settings.yaml | 1 - tests/fixtures/settings/settings.yaml | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/flextype/core/Parsers/Textile.php b/src/flextype/core/Parsers/Textile.php index d41ef650..f44190b7 100644 --- a/src/flextype/core/Parsers/Textile.php +++ b/src/flextype/core/Parsers/Textile.php @@ -57,7 +57,7 @@ final class Textile protected function __construct() { $parser = new Parser(); - + foreach (registry()->get('flextype.settings.parsers.textile') as $key => $value) { if ($key == 'cache') continue; if ($key == 'symbol') { diff --git a/src/flextype/settings.yaml b/src/flextype/settings.yaml index f4c4b437..15c36c83 100644 --- a/src/flextype/settings.yaml +++ b/src/flextype/settings.yaml @@ -622,7 +622,6 @@ parsers: cache: enabled: true string: "" - cache_id_string: "" restricted: false document_type: 'xhtml' document_root_directory: '' diff --git a/tests/fixtures/settings/settings.yaml b/tests/fixtures/settings/settings.yaml index 252ad8a9..b48781ae 100644 --- a/tests/fixtures/settings/settings.yaml +++ b/tests/fixtures/settings/settings.yaml @@ -439,7 +439,7 @@ router: # Set to true to enable the Flextype CLI Application cli: - enabled: true + enabled: false # Set to true to enable the Flextype Application app: @@ -622,7 +622,6 @@ parsers: cache: enabled: true string: "" - cache_id_string: "" restricted: false document_type: 'xhtml' document_root_directory: ''