[TASK] Updates for TYPO3 11

This commit is contained in:
Philipp Dieter
2023-09-26 16:19:53 +02:00
parent e126e674c7
commit a02b1bb939
27 changed files with 258 additions and 287 deletions

View File

@@ -1,19 +1,19 @@
<?php
defined('TYPO3_MODE') || die('Access denied.');
defined('TYPO3') or die();
use Cjel\TemplatesAide\Controller\DummyController;
call_user_func(
function()
{
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Cjel.TemplatesAide',
'TemplatesAide',
'Dummy',
[
'Dummy' => 'list'
DummyController::class => 'list'
],
// non-cacheable actions
[
'Dummy' => ''
DummyController::class => ''
]
);
@@ -83,10 +83,5 @@ call_user_func(
$_GET['eID'] = 'script_disabled';
}
}
//$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['script_enable'] =
// \Cjel\TemplatesAide\Controller\EIDController::class
// . '::scriptEnable';
}
);