forked from carstenwindler/cwenvbanner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_localconf.php
23 lines (18 loc) · 917 Bytes
/
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
<?php
if (!defined ('TYPO3_MODE')) {
die ('Access denied.');
}
// Make this extension known in the Typo3 6.x world
if (TYPO3_MODE === 'BE') {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'Carstenwindler.' . $_EXTKEY,
'tools',
'envbanner'
);
}
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['contentPostProc-output']['cwenvbanner']
= 'EXT:cwenvbanner/Classes/Renderer.php:&CarstenWindler\\Cwenvbanner\\Renderer->contentPostProcOutputHook';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/backend.php']['renderPreProcess']['cwenvbanner']
= 'EXT:cwenvbanner/Classes/Renderer.php:&CarstenWindler\\Cwenvbanner\\Renderer->backendRenderPreProcessHook';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/backend.php']['renderPostProcess']['cwenvbanner']
= 'EXT:cwenvbanner/Classes/Renderer.php:&CarstenWindler\\Cwenvbanner\\Renderer->backendRenderPostProcessHook';