mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-10 00:36:13 +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
|
<?php
|
||||||
if (!defined ('TYPO3_MODE')) {
|
defined('TYPO3_MODE') or die('Access denied.');
|
||||||
die ('Access denied.');
|
|
||||||
}
|
|
||||||
|
|
||||||
$GLOBALS['TCA']['tx_tea_domain_model_addition'] = array(
|
$GLOBALS['TCA']['tx_tea_domain_model_addition'] = array(
|
||||||
'ctrl' => $GLOBALS['TCA']['tx_tea_domain_model_addition']['ctrl'],
|
'ctrl' => $GLOBALS['TCA']['tx_tea_domain_model_addition']['ctrl'],
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined ('TYPO3_MODE')) {
|
defined('TYPO3_MODE') or die('Access denied.');
|
||||||
die ('Access denied.');
|
|
||||||
}
|
|
||||||
|
|
||||||
$GLOBALS['TCA']['tx_tea_domain_model_teabeverage'] = array(
|
$GLOBALS['TCA']['tx_tea_domain_model_teabeverage'] = array(
|
||||||
'ctrl' => $GLOBALS['TCA']['tx_tea_domain_model_teabeverage']['ctrl'],
|
'ctrl' => $GLOBALS['TCA']['tx_tea_domain_model_teabeverage']['ctrl'],
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined ('TYPO3_MODE')) {
|
defined('TYPO3_MODE') or die('Access denied.');
|
||||||
die ('Access denied.');
|
|
||||||
}
|
|
||||||
|
|
||||||
$GLOBALS['TCA']['tx_tea_domain_model_teatype'] = array(
|
$GLOBALS['TCA']['tx_tea_domain_model_teatype'] = array(
|
||||||
'ctrl' => $GLOBALS['TCA']['tx_tea_domain_model_teatype']['ctrl'],
|
'ctrl' => $GLOBALS['TCA']['tx_tea_domain_model_teatype']['ctrl'],
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined ('TYPO3_MODE')) {
|
defined('TYPO3_MODE') or die('Access denied.');
|
||||||
die ('Access denied.');
|
|
||||||
}
|
|
||||||
|
|
||||||
$GLOBALS['TCA']['tx_tea_domain_model_testimonial'] = array(
|
$GLOBALS['TCA']['tx_tea_domain_model_testimonial'] = array(
|
||||||
'ctrl' => $GLOBALS['TCA']['tx_tea_domain_model_testimonial']['ctrl'],
|
'ctrl' => $GLOBALS['TCA']['tx_tea_domain_model_testimonial']['ctrl'],
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('TYPO3_MODE')) {
|
defined('TYPO3_MODE') or die('Access denied.');
|
||||||
die('Access denied.');
|
|
||||||
}
|
|
||||||
|
|
||||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
|
||||||
'OliverKlee.' . $_EXTKEY,
|
'OliverKlee.' . $_EXTKEY,
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('TYPO3_MODE')) {
|
defined('TYPO3_MODE') or die('Access denied.');
|
||||||
die ('Access denied.');
|
|
||||||
}
|
|
||||||
|
|
||||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
|
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
|
||||||
'OliverKlee.' . $_EXTKEY,
|
'OliverKlee.' . $_EXTKEY,
|
||||||
|
|
Loading…
Reference in a new issue