-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathext_localconf.php
More file actions
executable file
·27 lines (24 loc) · 705 Bytes
/
Copy pathext_localconf.php
File metadata and controls
executable file
·27 lines (24 loc) · 705 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
<?php
use TYPO3\CMS\Extbase\Utility\ExtensionUtility;
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
defined('TYPO3') || die('Access denied.');
(function () {
if (ExtensionManagementUtility::isLoaded('personnel')) {
ExtensionManagementUtility::addTypoScriptConstants('
pagelist.personnelIsLoaded = 1
');
} else {
ExtensionManagementUtility::addTypoScriptConstants('
pagelist.personnelIsLoaded = 0
');
}
ExtensionUtility::configurePlugin(
'pagelist',
'Pagelist',
[
'Pagelist' => 'pagelist',
],
[],
ExtensionUtility::PLUGIN_TYPE_CONTENT_ELEMENT
);
})();