forked from punktDe/pt_extbase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_localconf.php
36 lines (31 loc) · 1.43 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
26
27
28
29
30
31
32
33
34
35
36
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
/**
* Register LifeCycle Manager
*/
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['hook_eofe'][] = 'EXT:pt_extbase/Classes/Lifecycle/HookManager.php:tx_PtExtbase_Lifecycle_HookManager->updateEnd';
/**
* Include the eId dispatcher in Frontend environment
*/
$TYPO3_CONF_VARS['FE']['eID_include']['ptxAjax'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('pt_extbase') . 'Classes/Utility/eIDDispatcher.php';
/**
* Include the ajax dispatcher in Backend environment
*/
$TYPO3_CONF_VARS['BE']['AJAX']['ptxAjax'] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('pt_extbase') . 'Classes/Utility/AjaxDispatcher.php:Tx_PtExtbase_Utility_AjaxDispatcher->initAndDispatch';
// Scheduler Tasks
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['Tx_PtExtbase_Scheduler_SqlRunner_SqlRunnerTask'] = [
'extension' => $_EXTKEY,
'title' => 'SQL Runner',
'description' => 'Runs an SQL file.',
'additionalFields' => 'Tx_PtExtbase_Scheduler_SqlRunner_SqlRunnerTaskAdditionalFields'
];
/*
* Test Scheduler Task
*/
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['PunktDe\PtExtbase\Tests\Functional\Scheduler\TestTask'] = [
'extension' => $_EXTKEY,
'title' => 'Pt_Extbase Test Abstract Scheduler Task',
'description' => 'This Task is for Testing, do not run this task in Production Environment',
];