ext_localconf.php 673 Bytes
Newer Older
1 2
<?php
if (!defined('TYPO3_MODE')) {
Markus Sommer's avatar
Markus Sommer committed
3
    die('Access denied.');
4 5 6 7 8
}

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPItoST43($_EXTKEY, 'pi1/class.tx_ter_pi1.php', '_pi1', 'list_type', 0);

// Register core version update task
9 10 11 12 13 14 15 16
if (TYPO3_MODE === 'BE') {
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks'][\T3o\Ter\Task\UpdateCurrentVersionListTask::class] = [
        'extension' => $_EXTKEY,
        'title' => 'LLL:EXT:' . $_EXTKEY . '/locallang.xml:tx_ter_updateCurrentVersionListTask.name',
        'description' => 'LLL:EXT:' . $_EXTKEY . '/locallang.xml:tx_ter_updateCurrentVersionListTask.description',
        'additionalFields' => ''
    ];
}