-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathext_tables.php
34 lines (33 loc) · 1.15 KB
/
ext_tables.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
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
call_user_func(
function () {
if (\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('realurl')) {
/**
* Include Backend Module
*/
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'In2code.realurlconflicts',
'web',
'm1',
'',
[
'Module' => 'conflicts,deleteCache,deleteCacheWithDeletedPages'
],
[
'access' => 'user,group',
'icon' => 'EXT:realurlconflicts/Resources/Public/Icons/Module.svg',
'labels' => 'LLL:EXT:realurlconflicts/Resources/Private/Language/locallang_mod.xlf',
]
);
} else {
\TYPO3\CMS\Core\Utility\GeneralUtility::sysLog(
'Extension realurl not loaded - Module for realurlconflicts will not be included!',
'realurlconflicts',
\TYPO3\CMS\Core\Utility\GeneralUtility::SYSLOG_SEVERITY_WARNING
);
}
}
);