| 12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- if (!defined('TYPO3_MODE')) {
- die('Access denied.');
- }
- // ext_localconf.php contient les directives permettant de configurer le frontend
- \FluidTYPO3\Flux\Core::registerProviderExtensionKey(
- 'OpenTalent.OtTemplating',
- 'Page'
- );
- \FluidTYPO3\Flux\Core::registerProviderExtensionKey(
- 'OpenTalent.OtTemplating',
- 'Content'
- );
- $GLOBALS['TYPO3_CONF_VARS']['LOG']['Opentalent']['OtTemplating']['writerConfiguration'] = [
- // configuration for ERROR level log entries
- TYPO3\CMS\Core\Log\LogLevel::DEBUG => [
- // add a FileWriter
- TYPO3\CMS\Core\Log\Writer\FileWriter::class => [
- // configuration for the writer
- 'logFile' => TYPO3\CMS\Core\Core\Environment::getVarPath() . '/log/typo3_ottemplating.log'
- ]
- ],
- TYPO3\CMS\Core\Log\LogLevel::WARNING => [
- // add a DatabaseWriter
- TYPO3\CMS\Core\Log\Writer\DatabaseWriter::class => [
- 'logTable' => 'tx_opentalent_log'
- ]
- ]
- ];
- $GLOBALS['TYPO3_CONF_VARS']['EXT']['news']['Controller/NewsController.php']['createDemandObjectFromSettings'] = ['Opentalent\OtTemplating\News\NewsFilter->createDemandObjectFromSettings'];
|