forked from Startpiloten/startpilot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_localconf.php
executable file
·28 lines (24 loc) · 1.02 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
<?php
defined('TYPO3_MODE') || die();
$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
\TYPO3\CMS\Core\Imaging\IconRegistry::class
);
$iconRegistry->registerIcon(
'default-icon',
\TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
['source' => 'EXT:startpilot/Resources/Public/Images/Misc/Logos/sp_grey-512x512.svg']
);
$iconRegistry->registerIcon(
'logo-big',
\TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
['source' => 'EXT:startpilot/Resources/Public/Images/Misc/Logos/sp_grey-512x512.svg']
);
$iconRegistry->registerIcon(
'logo-small',
\TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
['source' => 'EXT:startpilot/Resources/Public/Images/Misc/Logos/sp_grey-16x16.svg']
);
$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'] = 'EXT:startpilot/Configuration/Yaml/DefaultEditor.yaml';
TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig(
'<INCLUDE_TYPOSCRIPT: source="DIR:EXT:startpilot/Configuration/UserTSConfig">'
);