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

[TASK] Update TYPO3 Constant + guards

parent e6ef302f
No related branches found
No related tags found
1 merge request!6TYPO3 11
<?php
defined('TYPO3') or die();
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
'sg_youtube',
'Configuration/TypoScript',
......
<?php
defined('TYPO3') or die();
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['sgyoutube_youtube'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'sgyoutube_youtube',
......
......@@ -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(
'SgYoutube',
......
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