From 71a1408eafae2351d81ddce9292d9e16dd9f9d52 Mon Sep 17 00:00:00 2001 From: ProklUng Date: Sun, 15 Aug 2021 15:07:26 +0300 Subject: [PATCH] =?UTF-8?q?=D0=91=D0=B0=D0=B7=D0=BE=D0=B2=D1=8B=D0=B9=20?= =?UTF-8?q?=D0=A2=D0=B2=D0=B8=D0=B3=20=D0=B2=D1=8B=D0=BD=D0=B5=D1=81=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=B2=20=D0=BE=D1=82=D0=B4=D0=B5=D0=BB=D1=8C=D0=BD?= =?UTF-8?q?=D1=8B=D0=B9=20=D0=B1=D0=B0=D0=BD=D0=B4=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- composer.json | 8 ++++++-- local/configs/packages/framework.yaml | 2 ++ local/configs/standalone_bundles.php | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index e2c556c..78a0953 100644 --- a/composer.json +++ b/composer.json @@ -21,6 +21,10 @@ "type": "git", "url": "https://github.com/proklung/core.framework.extension.bundle" }, + { + "type": "git", + "url": "https://github.com/proklung/bitrix.twig.bundle" + }, { "type": "git", "url": "https://github.com/proklung/core.argument.resolvers.bundle" @@ -57,6 +61,7 @@ "proklung/core-framework-extension-bundle": "^1.7", "proklung/core-argument-resolvers-bundle": "^1.1", "proklung/bitrixsymfonyrouterbundle": "^1.3", + "proklung/bitrix-twig-bundle": "^1.0", "arrilot/bitrix-migrations": "dev-master", "arrilot/bitrix-models": "dev-master", "maximaster/tools.twig": "dev-master", @@ -74,8 +79,7 @@ "proklung/db-command": "^1.0", "proklung/bitrix-iblock-element-validator-bundle": "^1.0", "proklung/framework-tools-bundle": "^1.5", - "proklung/twig-extensions-bundle": "^1.6", - "proklung/bitrix-tools-pack-bundle": "^1.6" + "proklung/twig-extensions-bundle": "^1.6" }, "require-dev": { "proklung/phpunit-testing-tools": "^1.5", diff --git a/local/configs/packages/framework.yaml b/local/configs/packages/framework.yaml index d10b62d..71be6f3 100644 --- a/local/configs/packages/framework.yaml +++ b/local/configs/packages/framework.yaml @@ -5,6 +5,8 @@ framework: cache: false cache_dir: '%kernel.project_dir%/bitrix/cache/twig' + globals: + secret_key: 'xxxx' validation: enabled: true diff --git a/local/configs/standalone_bundles.php b/local/configs/standalone_bundles.php index 503abec..f95de5f 100644 --- a/local/configs/standalone_bundles.php +++ b/local/configs/standalone_bundles.php @@ -3,15 +3,15 @@ return [ Prokl\CustomFrameworkExtensionsBundle\CustomFrameworkExtensionsBundle::class => ['all' => true], Prokl\CustomArgumentResolverBundle\CustomArgumentResolverBundle::class => ['all' => true], + Prokl\BitrixTwigBundle\BitrixTwigBundle::class => ['all' => true], + Prokl\FrameworkExtensionBundle\FrameworkExtensionBundle::class => ['all' => true], Prokl\BitrixSymfonyRouterBundle\SymfonyRouterBundle::class => ['all' => true], Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true], Symfony\Bundle\MakerBundle\MakerBundle::class => ['all' => true], Prokl\BitrixIblockElementValidatorBundle\BitrixIblockElementValidatorBundle::class => ['all' => true], - Prokl\FrameworkExtensionBundle\FrameworkExtensionBundle::class => ['all' => true], Prokl\StaticPageMakerBundle\StaticPageMakerBundle::class => ['all' => true], Prokl\BitrixWebformBundle\BitrixWebformBundle::class => ['all' => true], Prokl\FacadeBundle\FacadeBundle::class => ['all' => true], Prokl\TwigExtensionsPackBundle\TwigExtensionsPackBundle::class => ['all' => true], - Prokl\BitrixOrdinaryToolsBundle\BitrixOrdinaryToolsBundle::class => ['all' => true], Prokl\BundleMakerBundle\BundleMakerBundle::class => ['dev' => true], ];