Skip to content

Commit

Permalink
Fix performance issue
Browse files Browse the repository at this point in the history
  • Loading branch information
digedag committed Jan 6, 2024
1 parent f8a54fe commit 1f1eaf7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions ext_localconf.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?php

use Sys25\RnBase\Backend\Utility\Icons;
use Sys25\RnBase\Utility\TYPO3;

if (!(defined('TYPO3') || defined('TYPO3_MODE'))) {
exit('Access denied.');
}
Expand Down Expand Up @@ -43,14 +40,14 @@
$provider->addStatsService(new \System25\T3sports\Statistics\Service\VisitorStatistics());

if (\Sys25\RnBase\Utility\Environment::isBackend()) {
Icons::getIconRegistry()->registerIcon(
Sys25\RnBase\Backend\Utility\Icons::getIconRegistry()->registerIcon(
't3sports_plugin',
\TYPO3\CMS\Core\Imaging\IconProvider\SvgIconProvider::class,
['source' => 'EXT:cfc_league_fe/Resources/Public/Icons/ext_icon.svg']
);

// Apply PageTSconfig
if (!TYPO3::isTYPO121OrHigher()) {
if (!Sys25\RnBase\Utility\TYPO3::isTYPO121OrHigher()) {
// since T3 12 pagets is loaded by convention
\Sys25\RnBase\Utility\Extensions::addPageTSConfig(
'<INCLUDE_TYPOSCRIPT: source="FILE:EXT:cfc_league_fe/Configuration/PageTS/modWizards.tsconfig">'
Expand Down

0 comments on commit 1f1eaf7

Please sign in to comment.