Skip to content
Snippets Groups Projects
Commit f6a6bc0b authored by Matthias Adrowski's avatar Matthias Adrowski
Browse files

[TASK] Add TYPO3 Constants + guards

parent f25fc574
No related branches found
No related tags found
1 merge request!3Feature upgrade to typo3 11
<?php
defined('TYPO3') or die();
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
'sg_vimeo',
'Configuration/TypoScript',
......
<?php
defined('TYPO3') or die();
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['sgvimeo_vimeo'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'sgvimeo_vimeo',
......
......@@ -24,9 +24,7 @@
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
if (!defined('TYPO3')) {
die('Access denied.');
}
defined('TYPO3') or die();
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'SgVimeo',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment