-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathext_localconf.php
More file actions
28 lines (24 loc) · 845 Bytes
/
ext_localconf.php
File metadata and controls
28 lines (24 loc) · 845 Bytes
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
<?php
if (!defined ('TYPO3_MODE')) die ('Access denied.');
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Ubl.supportchat',
'tx_supportchat',
[
\Ubl\Supportchat\Controller\SupportChatController::class => 'index'
],
// non cache actions
[
\Ubl\Supportchat\Controller\SupportChatController::class => 'index'
]
);
$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['tx_supportchat']
= \Ubl\Supportchat\Controller\AjaxFrontendController::class . '::getAjaxResponse';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
'<INCLUDE_TYPOSCRIPT: source="FILE:EXT:supportchat/Configuration/TypoScript/setup.typoscript">'
);
/*
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
$_EXTKEY,
'Configuration/TypoScript/',
'Support Chat TS'
);*/