forked from DMKEBUSINESSGMBH/typo3-mkmailer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_localconf.php
25 lines (22 loc) · 1.02 KB
/
ext_localconf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
$tempPath = tx_rnbase_util_Extensions::extPath('mkmailer');
require_once($tempPath.'services/ext_localconf.php');
// Einbindung einer PageTSConfig
tx_rnbase_util_Extensions::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:mkmailer/mod1/pageTSconfig.txt">');
tx_rnbase::load('tx_rnbase_util_TYPO3');
if (TYPO3_MODE == 'BE' &&
tx_rnbase_util_Extensions::isLoaded('mklib') &&
tx_rnbase_util_TYPO3::isTYPO62OrHigher()
) {
tx_rnbase::load('tx_mkmailer_scheduler_SendMails');
tx_rnbase::load('tx_mkmailer_scheduler_SendMailsFieldProvider');
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['tx_mkmailer_scheduler_SendMails'] = array(
'extension' => 'mkmailer',
'title' => 'LLL:EXT:mkmailer/scheduler/locallang.xml:scheduler_SendMails_name',
'description' => 'LLL:EXT:mkmailer/scheduler/locallang.xml:scheduler_SendMails_taskinfo',
'additionalFields' => 'tx_mkmailer_scheduler_SendMailsFieldProvider'
);
}