ext_localconf.php 869 B

12345678910111213141516171819202122232425
  1. <?php
  2. if (!defined('TYPO3_MODE')) {
  3. die('Access denied.');
  4. }
  5. $GLOBALS['TYPO3_CONF_VARS']['LOG']['Opentalent']['OtCore']['writerConfiguration'] = [
  6. // configuration for ERROR level log entries
  7. TYPO3\CMS\Core\Log\LogLevel::DEBUG => [
  8. // add a FileWriter
  9. TYPO3\CMS\Core\Log\Writer\FileWriter::class => [
  10. // configuration for the writer
  11. 'logFile' => TYPO3\CMS\Core\Core\Environment::getVarPath() . '/log/ot_typo3.log'
  12. ]
  13. ],
  14. TYPO3\CMS\Core\Log\LogLevel::WARNING => [
  15. // add a DatabaseWriter
  16. TYPO3\CMS\Core\Log\Writer\DatabaseWriter::class => [
  17. 'logTable' => 'ot_log'
  18. ]
  19. ]
  20. ];
  21. $GLOBALS['TYPO3_CONF_VARS']['EXT']['news']['Controller/NewsController.php']['createDemandObjectFromSettings'] = ['Opentalent\OtTemplating\News\NewsFilter->createDemandObjectFromSettings'];