mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-12-22 22:26:11 +01:00
[CLEANUP] Shorten the die() line
This commit is contained in:
parent
1e248f4bb0
commit
5a33bc2a85
6 changed files with 6 additions and 18 deletions
|
@ -1,7 +1,5 @@
|
|||
<?php
|
||||
if (!defined ('TYPO3_MODE')) {
|
||||
die ('Access denied.');
|
||||
}
|
||||
defined('TYPO3_MODE') or die('Access denied.');
|
||||
|
||||
$GLOBALS['TCA']['tx_tea_domain_model_addition'] = array(
|
||||
'ctrl' => $GLOBALS['TCA']['tx_tea_domain_model_addition']['ctrl'],
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
<?php
|
||||
if (!defined ('TYPO3_MODE')) {
|
||||
die ('Access denied.');
|
||||
}
|
||||
defined('TYPO3_MODE') or die('Access denied.');
|
||||
|
||||
$GLOBALS['TCA']['tx_tea_domain_model_teabeverage'] = array(
|
||||
'ctrl' => $GLOBALS['TCA']['tx_tea_domain_model_teabeverage']['ctrl'],
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
<?php
|
||||
if (!defined ('TYPO3_MODE')) {
|
||||
die ('Access denied.');
|
||||
}
|
||||
defined('TYPO3_MODE') or die('Access denied.');
|
||||
|
||||
$GLOBALS['TCA']['tx_tea_domain_model_teatype'] = array(
|
||||
'ctrl' => $GLOBALS['TCA']['tx_tea_domain_model_teatype']['ctrl'],
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
<?php
|
||||
if (!defined ('TYPO3_MODE')) {
|
||||
die ('Access denied.');
|
||||
}
|
||||
defined('TYPO3_MODE') or die('Access denied.');
|
||||
|
||||
$GLOBALS['TCA']['tx_tea_domain_model_testimonial'] = array(
|
||||
'ctrl' => $GLOBALS['TCA']['tx_tea_domain_model_testimonial']['ctrl'],
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
<?php
|
||||
if (!defined('TYPO3_MODE')) {
|
||||
die('Access denied.');
|
||||
}
|
||||
defined('TYPO3_MODE') or die('Access denied.');
|
||||
|
||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
||||
'OliverKlee.' . $_EXTKEY,
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
<?php
|
||||
if (!defined('TYPO3_MODE')) {
|
||||
die ('Access denied.');
|
||||
}
|
||||
defined('TYPO3_MODE') or die('Access denied.');
|
||||
|
||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
|
||||
'OliverKlee.' . $_EXTKEY,
|
||||
|
|
Loading…
Reference in a new issue