-
}')})
+
diff --git a/public/typo3conf/ext/ep_theme/ext_localconf.php b/public/typo3conf/ext/ep_theme/ext_localconf.php
index e5f5b557..9a969c66 100644
--- a/public/typo3conf/ext/ep_theme/ext_localconf.php
+++ b/public/typo3conf/ext/ep_theme/ext_localconf.php
@@ -1,56 +1,60 @@
[
- 'TYPO3\\CMS\\Core\\Log\\Writer\\FileWriter' => [
- 'logFile' => \TYPO3\CMS\Core\Core\Environment::getVarPath() . '/log/bpn-api.log',
+ $GLOBALS['TYPO3_CONF_VARS']['LOG']['EP']['EpTheme']['Service']['BookingApiService']['writerConfiguration'] = [
+ \TYPO3\CMS\Core\Log\LogLevel::INFO => [
+ 'TYPO3\\CMS\\Core\\Log\\Writer\\FileWriter' => [
+ 'logFile' => \TYPO3\CMS\Core\Core\Environment::getVarPath() . '/log/bpn-api.log',
+ ],
],
- ],
-];
+ ];
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['ep_theme'] =
- \EP\EpTheme\Hook\Tcemain::class;
+ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['ep_theme'] =
+ \EP\EpTheme\Hooks\Tcemain::class;
-$layout = 'cms/layout/class.tx_cms_layout.php';
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][$layout]['tt_content_drawItem']['teaser_country'] =
- \EP\EpTheme\Hooks\PageLayoutView\TeaserCountryPreviewRenderer::class;
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][$layout]['tt_content_drawItem']['teaser_region'] =
- \EP\EpTheme\Hooks\PageLayoutView\TeaserRegionPreviewRenderer::class;
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][$layout]['tt_content_drawItem']['teaser_city'] =
- \EP\EpTheme\Hooks\PageLayoutView\TeaserCityPreviewRenderer::class;
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][$layout]['tt_content_drawItem']['teaser_hotel'] =
- \EP\EpTheme\Hooks\PageLayoutView\TeaserHotelPreviewRenderer::class;
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][$layout]['tt_content_drawItem']['teaser_concept'] =
- \EP\EpTheme\Hooks\PageLayoutView\TeaserConceptPreviewRenderer::class;
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][$layout]['tt_content_drawItem']['teaser_product'] =
- \EP\EpTheme\Hooks\PageLayoutView\TeaserProductPreviewRenderer::class;
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][$layout]['tt_content_drawItem']['teaser_booking_link'] =
- \EP\EpTheme\Hooks\PageLayoutView\TeaserBookingLinkPreviewRenderer::class;
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][$layout]['tt_content_drawItem']['gmap'] =
- \EP\EpTheme\Hooks\PageLayoutView\GmapPreviewRenderer::class;
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][$layout]['tt_content_drawItem']['disturber'] =
- \EP\EpTheme\Hooks\PageLayoutView\DisturberPreviewRenderer::class;
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][$layout]['tt_content_drawItem']['disrupter'] =
- \EP\EpTheme\Hooks\PageLayoutView\DisrupterPreviewRenderer::class;
-$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][$layout]['tt_content_drawItem']['lineup'] =
- \EP\EpTheme\Hooks\PageLayoutView\LineupPreviewRenderer::class;
+ $layout = 'cms/layout/class.tx_cms_layout.php';
+ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][$layout]['tt_content_drawItem']['teaser_country'] =
+ \EP\EpTheme\Hooks\PageLayoutView\TeaserCountryPreviewRenderer::class;
+ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][$layout]['tt_content_drawItem']['teaser_region'] =
+ \EP\EpTheme\Hooks\PageLayoutView\TeaserRegionPreviewRenderer::class;
+ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][$layout]['tt_content_drawItem']['teaser_city'] =
+ \EP\EpTheme\Hooks\PageLayoutView\TeaserCityPreviewRenderer::class;
+ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][$layout]['tt_content_drawItem']['teaser_hotel'] =
+ \EP\EpTheme\Hooks\PageLayoutView\TeaserHotelPreviewRenderer::class;
+ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][$layout]['tt_content_drawItem']['teaser_concept'] =
+ \EP\EpTheme\Hooks\PageLayoutView\TeaserConceptPreviewRenderer::class;
+ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][$layout]['tt_content_drawItem']['teaser_product'] =
+ \EP\EpTheme\Hooks\PageLayoutView\TeaserProductPreviewRenderer::class;
+ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][$layout]['tt_content_drawItem']['teaser_booking_link'] =
+ \EP\EpTheme\Hooks\PageLayoutView\TeaserBookingLinkPreviewRenderer::class;
+ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][$layout]['tt_content_drawItem']['gmap'] =
+ \EP\EpTheme\Hooks\PageLayoutView\GmapPreviewRenderer::class;
+ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][$layout]['tt_content_drawItem']['disturber'] =
+ \EP\EpTheme\Hooks\PageLayoutView\DisturberPreviewRenderer::class;
+ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][$layout]['tt_content_drawItem']['disrupter'] =
+ \EP\EpTheme\Hooks\PageLayoutView\DisrupterPreviewRenderer::class;
+ $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][$layout]['tt_content_drawItem']['lineup'] =
+ \EP\EpTheme\Hooks\PageLayoutView\LineupPreviewRenderer::class;
-$GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'] = 'tx_eptheme_slides';
+ $GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'] = 'tx_eptheme_slides';
-$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'] = 'EXT:ep_theme/Configuration/RTE/Default.yaml';
-$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['ep-reisen'] = 'EXT:ep_theme/Configuration/RTE/Default.yaml';
+ $GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'] = 'EXT:ep_theme/Configuration/RTE/Default.yaml';
+ $GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['ep-reisen'] = 'EXT:ep_theme/Configuration/RTE/Default.yaml';
-$GLOBALS['TYPO3_CONF_VARS']['SYS']['fluid']['namespaces']['ep'] = ['EP\\EpTheme\\ViewHelpers'];
-$GLOBALS['TYPO3_CONF_VARS']['MAIL']['layoutRootPaths'][700] = 'EXT:ep_theme/Resources/Private/Layouts/Email/';
-$GLOBALS['TYPO3_CONF_VARS']['MAIL']['templateRootPaths'][700] = 'EXT:ep_theme/Resources/Private/Templates/Email/';
+ $GLOBALS['TYPO3_CONF_VARS']['SYS']['fluid']['namespaces']['ep'] = ['EP\\EpTheme\\ViewHelpers'];
+ $GLOBALS['TYPO3_CONF_VARS']['MAIL']['layoutRootPaths'][700] = 'EXT:ep_theme/Resources/Private/Layouts/Email/';
+ $GLOBALS['TYPO3_CONF_VARS']['MAIL']['templateRootPaths'][700] = 'EXT:ep_theme/Resources/Private/Templates/Email/';
-$metaTagManagerRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\MetaTag\MetaTagManagerRegistry::class);
-$metaTagManagerRegistry->registerManager(
- 'ep_opengraph',
- \EP\EpTheme\MetaTag\OpenGraphMetaTagManager::class
-);
+ $metaTagManagerRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\MetaTag\MetaTagManagerRegistry::class);
+ $metaTagManagerRegistry->registerManager(
+ 'ep_opengraph',
+ \EP\EpTheme\MetaTag\OpenGraphMetaTagManager::class
+ );
+};
+
+$boot();
+unset($boot);