forked from in2code-de/publications
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_localconf.php
48 lines (42 loc) · 1.39 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
37
38
39
40
41
42
43
44
45
46
47
48
<?php
defined('TYPO3') || die();
call_user_func(
function () {
/**
* Include Frontend Plugins
*/
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'publications',
'Pi1',
[
\In2code\Publications\Controller\PublicationController::class => 'list,resetList,downloadBibtex,downloadXml'
],
[
\In2code\Publications\Controller\PublicationController::class => 'list,resetList,downloadBibtex,downloadXml'
]
);
/**
* PageTSConfig
*/
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
'<INCLUDE_TYPOSCRIPT: source="FILE:EXT:publications/Configuration/TsConfig/Page.tsconfig">'
);
/**
* Logging
*/
$GLOBALS['TYPO3_CONF_VARS']['LOG']['In2code']['Publications'] = [
'writerConfiguration' => [
\TYPO3\CMS\Core\Log\LogLevel::DEBUG => [
\TYPO3\CMS\Core\Log\Writer\FileWriter::class => [
'logFile' => 'typo3temp/logs/tx_publications.log'
]
]
]
];
/**
* Fluid Namespace
*/
$GLOBALS['TYPO3_CONF_VARS']['SYS']['fluid']['namespaces']['publications'][]
= 'In2code\Publications\ViewHelpers';
}
);