[TASK] Change check for TYPO3_MODE 38/31338/4
authorWouter Wolters <typo3@wouterwolters.nl>
Sat, 5 Jul 2014 12:19:05 +0000 (14:19 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 5 Jul 2014 15:09:12 +0000 (17:09 +0200)
Change check for TYPO3_MODE:

if (!defined('TYPO3_MODE')) {
die('Access denied.');
}

to

defined('TYPO3_MODE') or die();

Resolves: #60112
Releases: 6.3
Change-Id: I2b4493509c912f620a993dc4ba69c4449fcac04d
Reviewed-on: https://review.typo3.org/31338
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
120 files changed:
typo3/sysext/about/ext_tables.php
typo3/sysext/aboutmodules/ext_tables.php
typo3/sysext/backend/ext_localconf.php
typo3/sysext/backend/ext_tables.php
typo3/sysext/belog/ext_tables.php
typo3/sysext/beuser/ext_localconf.php
typo3/sysext/beuser/ext_tables.php
typo3/sysext/cms/Configuration/TCA/Overrides/pages_language_overlay.php
typo3/sysext/cms/Configuration/TCA/Overrides/tt_content.php
typo3/sysext/cms/ext_localconf.php
typo3/sysext/cms/ext_tables.php
typo3/sysext/context_help/ext_tables.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/ExtTables/ext_tables.1ncsv.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/ExtTables/ext_tables.1nff.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/ExtTables/ext_tables.general.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/ExtTables/ext_tables.mnasym.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/ExtTables/ext_tables.mnattr.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/ExtTables/ext_tables.mnmmasym.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/ExtTables/ext_tables.mnsym.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/Tca/tca.1ncsv.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/Tca/tca.1nff.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/Tca/tca.mnasym.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/Tca/tca.mnattr.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/Tca/tca.mnmmasym.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/Configuration/Tca/tca.mnsym.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/ext_localconf.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/irre_tutorial/ext_tables.php
typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_datahandler/ext_tables.php
typo3/sysext/core/Tests/Functional/Fixtures/Frontend/AdditionalConfiguration.php
typo3/sysext/core/ext_localconf.php
typo3/sysext/core/ext_tables.php
typo3/sysext/cshmanual/ext_tables.php
typo3/sysext/css_styled_content/Configuration/TCA/Overrides/tt_content.php
typo3/sysext/css_styled_content/ext_localconf.php
typo3/sysext/dbal/ext_localconf.php
typo3/sysext/dbal/ext_tables.php
typo3/sysext/documentation/ext_localconf.php
typo3/sysext/documentation/ext_tables.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Configuration/TCA/Blog.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Configuration/TCA/Comment.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Configuration/TCA/Person.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Configuration/TCA/Post.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Configuration/TCA/Tag.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/ext_tables.php
typo3/sysext/extbase/ext_localconf.php
typo3/sysext/extbase/ext_tables.php
typo3/sysext/extensionmanager/ext_localconf.php
typo3/sysext/extensionmanager/ext_tables.php
typo3/sysext/extra_page_cm_options/ext_tables.php
typo3/sysext/feedit/ext_localconf.php
typo3/sysext/felogin/ext_localconf.php
typo3/sysext/filelist/ext_tables.php
typo3/sysext/fluid/ext_localconf.php
typo3/sysext/fluid/ext_tables.php
typo3/sysext/form/Configuration/TCA/Overrides/tt_content.php
typo3/sysext/form/ext_localconf.php
typo3/sysext/form/ext_tables.php
typo3/sysext/frontend/ext_localconf.php
typo3/sysext/func/ext_tables.php
typo3/sysext/func_wizards/ext_tables.php
typo3/sysext/impexp/Tests/Functional/Fixtures/Extensions/impexp_group_files/Configuration/TCA/tx_impexpgroupfiles_item.php
typo3/sysext/impexp/Tests/Functional/Fixtures/Extensions/impexp_group_files/ext_tables.php
typo3/sysext/impexp/ext_localconf.php
typo3/sysext/impexp/ext_tables.php
typo3/sysext/indexed_search/Configuration/TCA/Overrides/tt_content.php
typo3/sysext/indexed_search/ext_localconf.php
typo3/sysext/indexed_search/ext_tables.php
typo3/sysext/indexed_search_mysql/ext_localconf.php
typo3/sysext/info/ext_tables.php
typo3/sysext/info_pagetsconfig/ext_tables.php
typo3/sysext/install/ext_localconf.php
typo3/sysext/install/ext_tables.php
typo3/sysext/lang/ext_localconf.php
typo3/sysext/lang/ext_tables.php
typo3/sysext/linkvalidator/ext_localconf.php
typo3/sysext/linkvalidator/ext_tables.php
typo3/sysext/lowlevel/ext_localconf.php
typo3/sysext/lowlevel/ext_tables.php
typo3/sysext/opendocs/ext_tables.php
typo3/sysext/opendocs/registerToolbarItem.php
typo3/sysext/openid/ext_localconf.php
typo3/sysext/openid/ext_tables.php
typo3/sysext/perm/ext_tables.php
typo3/sysext/recordlist/ext_tables.php
typo3/sysext/recycler/ext_localconf.php
typo3/sysext/recycler/ext_tables.php
typo3/sysext/reports/ext_localconf.php
typo3/sysext/reports/ext_tables.php
typo3/sysext/rsaauth/ext_localconf.php
typo3/sysext/rsaauth/resources/Private/Php/FrontendLoginRsaPublicKey.php
typo3/sysext/rtehtmlarea/Configuration/Hook/Frontend/Controller/ext_localconf.php
typo3/sysext/rtehtmlarea/ext_localconf.php
typo3/sysext/rtehtmlarea/ext_tables.php
typo3/sysext/rtehtmlarea/hooks/softref/ext_localconf.php
typo3/sysext/rtehtmlarea/hooks/softref/ext_tables.php
typo3/sysext/rtehtmlarea/hooks/statusreport/ext_localconf.php
typo3/sysext/saltedpasswords/ext_localconf.php
typo3/sysext/saltedpasswords/ext_tables.php
typo3/sysext/scheduler/ext_localconf.php
typo3/sysext/scheduler/ext_tables.php
typo3/sysext/setup/ext_tables.php
typo3/sysext/sv/ext_localconf.php
typo3/sysext/sv/ext_tables.php
typo3/sysext/sys_action/ext_tables.php
typo3/sysext/sys_action/toolbarmenu/registerToolbarItem.php
typo3/sysext/sys_note/ext_localconf.php
typo3/sysext/sys_note/ext_tables.php
typo3/sysext/t3editor/ext_localconf.php
typo3/sysext/t3editor/ext_tables.php
typo3/sysext/t3skin/ext_localconf.php
typo3/sysext/t3skin/ext_tables.php
typo3/sysext/taskcenter/ext_tables.php
typo3/sysext/tstemplate/ext_tables.php
typo3/sysext/version/ext_localconf.php
typo3/sysext/version/ext_tables.php
typo3/sysext/viewpage/ext_tables.php
typo3/sysext/wizard_crpages/ext_tables.php
typo3/sysext/wizard_sortpages/ext_tables.php
typo3/sysext/workspaces/ext_localconf.php
typo3/sysext/workspaces/ext_tables.php

index 32ab66c..1018c06 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 // Avoid that this block is loaded in frontend or within upgrade wizards
 if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
        \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
index 1493709..9eb0ab7 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 // Avoid that this block is loaded in frontend or within upgrade wizards
 if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
        \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
index 9af38ec..18e173f 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 if (TYPO3_MODE === 'BE') {
        \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher')->connect(
index ab2df60..10b862b 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 if (TYPO3_MODE === 'BE') {
        // Register record history module
index 4a8389a..c6d06ac 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 // Register backend modules, but not in frontend or within upgrade wizards
 if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
index e35aa74..243f832 100644 (file)
@@ -1,5 +1,4 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][] = 'TYPO3\\CMS\\Beuser\\Hook\\SwitchBackUserHook->switchBack';
index d2c56ae..e35bdce 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        // Module Admin > Backend Users
        \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
index 38a1fd9..e536395 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 // Keep old code (pre-FAL) for installations that haven't upgraded yet.
 // @deprecated since TYPO3 6.0, please remove at earliest in TYPO3 6.2
 // existing installation - and files are merged, nothing to do
index e9d0380..a134898 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 // keep old code (pre-FAL) for installations that haven't upgraded yet. please remove this code in TYPO3 7.0
 // @deprecated since TYPO3 6.0, please remove in TYPO3 7.0
 // existing installation - and files are merged, nothing to do
index 88073c4..9800799 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig('
        options.saveDocView = 1
index 46ac899..61a972d 100644 (file)
@@ -1,8 +1,7 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
-if (TYPO3_MODE == 'BE') {
+defined('TYPO3_MODE') or die();
+
+if (TYPO3_MODE === 'BE') {
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule('web', 'layout', 'top', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'layout/');
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_layout', 'EXT:cms/locallang_csh_weblayout.xlf');
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_info', 'EXT:cms/locallang_csh_webinfo.xlf');
index 6fb2018..8dc8e9e 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('fe_groups', 'EXT:context_help/locallang_csh_fe_groups.xlf');
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('fe_users', 'EXT:context_help/locallang_csh_fe_users.xlf');
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('pages', 'EXT:context_help/locallang_csh_pages.xlf');
index 4b791c5..774d8e4 100644 (file)
@@ -1,4 +1,6 @@
 <?php
+defined('TYPO3_MODE') or die();
+
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_irretutorial_mnsym_hotel');
 
 $TCA['tx_irretutorial_mnsym_hotel'] = array(
@@ -12,7 +14,7 @@ $TCA['tx_irretutorial_mnsym_hotel'] = array(
                'transOrigPointerField'    => 'l18n_parent',
                'transOrigDiffSourceField' => 'l18n_diffsource',
                'sortby' => 'sorting',
-               'delete' => 'deleted',  
+               'delete' => 'deleted',
                'enablecolumns' => array(
                        'disabled' => 'hidden',
                ),
@@ -33,7 +35,7 @@ $TCA['tx_irretutorial_mnsym_hotel'] = array(
 $TCA['tx_irretutorial_mnsym_hotel_rel'] = array(
        'ctrl' => array(
                'title' => 'LLL:EXT:irre_tutorial/locallang_db.xml:tx_irretutorial_mnsym_hotel_rel',
-               'label' => 'uid',       
+               'label' => 'uid',
                'tstamp' => 'tstamp',
                'crdate' => 'crdate',
                'cruser_id' => 'cruser_id',
index 5737373..bdd033c 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined ('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 $TCA['tx_irretutorial_1ncsv_hotel'] = array(
        'ctrl' => $TCA['tx_irretutorial_1ncsv_hotel']['ctrl'],
index 9452828..053b57c 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined ('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 $TCA['tx_irretutorial_1nff_hotel'] = array(
        'ctrl' => $TCA['tx_irretutorial_1nff_hotel']['ctrl'],
index 94af093..ea39617 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined ('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 $TCA['tx_irretutorial_mnasym_hotel'] = array(
        'ctrl' => $TCA['tx_irretutorial_mnasym_hotel']['ctrl'],
index 2ec2259..43b5f28 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined ('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 $TCA['tx_irretutorial_mnattr_hotel'] = array(
        'ctrl' => $TCA['tx_irretutorial_mnattr_hotel']['ctrl'],
index f0298d2..5fa92ac 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined ('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 $TCA['tx_irretutorial_mnmmasym_hotel'] = array(
        'ctrl' => $TCA['tx_irretutorial_mnmmasym_hotel']['ctrl'],
index 9175220..bbdf251 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined ('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 $TCA['tx_irretutorial_mnsym_hotel'] = array(
        'ctrl' => $TCA['tx_irretutorial_mnsym_hotel']['ctrl'],
index ed5ce42..709f063 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
        'OliverHader.' . $_EXTKEY, 'Irre',
index 6b3a8b5..f6c6fdc 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined ('TYPO3_MODE')) {
-       die ('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin($_EXTKEY, 'Irre', 'IRRE');
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'IRRE Tutorial');
index 9ff5c54..8064db9 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined ('TYPO3_MODE')) {
-       die ('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_testdatahandler_element');
 
index 80e0364..0a31bfb 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 // You may add PHP code here, wich is executed on every request after the configuration is loaded.
 // The code here should only manipulate TYPO3_CONF_VARS for example to set the database configuration
 // dependent to the requested environment.
index 828d6b8..0b83bc4 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 /** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */
 $signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher');
 
index 7046d58..ac97fa0 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 /**
  * $GLOBALS['PAGES_TYPES'] defines the various types of pages (field: doktype) the system
@@ -542,4 +540,4 @@ $GLOBALS['TBE_STYLES']['spriteIconApi']['spriteIconRecordOverlayNames'] = array(
        'missing' => 'status-overlay-missing',
        'translated' => 'status-overlay-translated',
        'protectedSection' => 'status-overlay-includes-subpages'
-);
\ No newline at end of file
+);
index 7b022ee..b6e5fdb 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 if (TYPO3_MODE === 'BE') {
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
index f5c391a..7de325d 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 // Add flexform
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('*', 'FILE:EXT:css_styled_content/flexform_ds.xml', 'table');
 
@@ -23,4 +22,4 @@ $GLOBALS['TCA']['tt_content']['columns']['section_frame']['config']['items'][9]
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile('css_styled_content', 'static/v4.7/', 'CSS Styled Content TYPO3 v4.7');
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile('css_styled_content', 'static/v6.0/', 'CSS Styled Content TYPO3 v6.0');
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile('css_styled_content', 'static/v6.1/', 'CSS Styled Content TYPO3 v6.1');
-\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile('css_styled_content', 'static/v6.2/', 'CSS Styled Content TYPO3 v6.2');
\ No newline at end of file
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile('css_styled_content', 'static/v6.2/', 'CSS Styled Content TYPO3 v6.2');
index 9a3b75c..8b32aec 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 // unserializing the configuration so we can use it here:
 $_EXTCONF = unserialize($_EXTCONF);
 if (!$_EXTCONF || $_EXTCONF['setPageTSconfig']) {
index 44c0c82..ba83e16 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 $GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects']['TYPO3\\CMS\\Core\\Database\\DatabaseConnection'] = array('className' => 'TYPO3\\CMS\\Dbal\\Database\\DatabaseConnection');
 $GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects']['TYPO3\\CMS\\Core\\Database\\SqlParser'] = array('className' => 'TYPO3\\CMS\\Dbal\\Database\\SqlParser');
index c269aae..5a636db 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule('tools', 'txdbalM1', '', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod1/');
 }
index d6b6c0f..6831e34 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined ('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 // Open extension manual from within Extension Manager
 $signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher');
index 3d6af61..3625b8a 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 if (TYPO3_MODE === 'BE') {
        // Registers a Backend Module
index 972a224..8ffe51e 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined ('TYPO3_MODE')) {
-       die ('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 $TCA['tx_blogexample_domain_model_blog'] = array(
        'ctrl' => $TCA['tx_blogexample_domain_model_blog']['ctrl'],
index 2e0ff92..ab3ee20 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined ('TYPO3_MODE')) {
-       die ('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 $TCA['tx_blogexample_domain_model_comment'] = array(
        'ctrl' => $TCA['tx_blogexample_domain_model_comment']['ctrl'],
index 2f8aeb8..435c84a 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined ('TYPO3_MODE')) {
-       die ('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 $TCA['tx_blogexample_domain_model_person'] = array(
        'ctrl' => $TCA['tx_blogexample_domain_model_person']['ctrl'],
index 6583212..21fd56a 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined ('TYPO3_MODE')) {
-       die ('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 $TCA['tx_blogexample_domain_model_post'] = array(
        'ctrl' => $TCA['tx_blogexample_domain_model_post']['ctrl'],
index 957a649..2eb81d1 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined ('TYPO3_MODE')) {
-       die ('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 $TCA['tx_blogexample_domain_model_tag'] = array(
        'ctrl' => $TCA['tx_blogexample_domain_model_tag']['ctrl'],
index 8f5433e..467ac7a 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 if (!is_array($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['extbase_typo3dbbackend_tablecolumns'])) {
        $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['extbase_typo3dbbackend_tablecolumns'] = array(
index f3c9fc1..1ef1260 100644 (file)
@@ -1,8 +1,7 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
-if (TYPO3_MODE == 'BE') {
+defined('TYPO3_MODE') or die();
+
+if (TYPO3_MODE === 'BE') {
        // register Extbase dispatcher for modules
        $TBE_MODULES['_dispatcher'][] = 'TYPO3\\CMS\\Extbase\\Core\\ModuleRunnerInterface';
 }
index 0c90fa6..4702c9a 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 // Register extension list update task
 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['TYPO3\\CMS\\Extensionmanager\\Task\\UpdateExtensionListTask'] = array(
index 4ac67f1..3254ea2 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 if (TYPO3_MODE === 'BE') {
        \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
index 1e23423..46e4ca3 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array(
                'name' => 'TYPO3\\CMS\\ExtraPageCmOptions\\ExtraPageContextMenuOptions',
index 5a09d50..0786358 100644 (file)
@@ -1,8 +1,5 @@
 <?php
-
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 // Register the edit panel view.
 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/classes/class.frontendedit.php']['edit'] = 'TYPO3\\CMS\\Feedit\\FrontendEditPanel';
index 13f3dd8..eccb058 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 //replace old Login
 $pluginContent = trim('
 plugin.tx_felogin_pi1 = USER_INT
index f889467..cedb689 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
                'file',
index dc648cb..4451e21 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 // Register caches if not already done in localconf.php or a previously loaded extension.
 if (!is_array($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['fluid_template'])) {
        $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['fluid_template'] = array(
index cf1e075..ae4ea4f 100644 (file)
@@ -1,5 +1,4 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Fluid: (Optional) default ajax configuration');
index 35b9e42..e308541 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 $GLOBALS['TCA']['tt_content']['columns']['bodytext']['config']['wizards']['forms'] = array(
        'notNewRecords' => 1,
        'enableByTypeConfig' => 1,
index d8c82ec..0a7d284 100644 (file)
@@ -1,5 +1,4 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 \TYPO3\CMS\Form\Utility\FormUtility::getInstance()->initializeFormObjects()->initializePageTsConfig();
index c9ea3b7..98fbbd0 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 if (TYPO3_MODE === 'BE') {
        // Register wizard
index bb03ba9..0abd77b 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 if (TYPO3_MODE === 'FE' && !isset($_REQUEST['eID'])) {
        \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher')->connect(
index 76ceaf1..073fa05 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
                'web',
index f8ac565..b28f6e4 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
                'web_func',
index f91db2c..3ad6572 100644 (file)
@@ -1,8 +1,4 @@
 <?php
-if (!defined ('TYPO3_MODE')) {
-       die ('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_impexpgroupfiles_item');
-
-?>
\ No newline at end of file
index 6d4009a..4c5bf51 100644 (file)
@@ -1,6 +1,4 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/backend.php']['constructPostProcess'][] = 'TYPO3\\CMS\\Impexp\\Hook\\BackendControllerHook->addJavaScript';
\ No newline at end of file
index 8f47c96..3c4e2a6 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array(
                'name' => 'TYPO3\\CMS\\Impexp\\Clickmenu',
index 8735d51..f85b931 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 // Register "old" FE plugin and hide layout, select_key and pages fields in BE
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(
index ed40bf2..388c751 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPItoST43($_EXTKEY);
 \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin($_EXTKEY, 'Pi2', array('Search' => 'form,search'), array('Search' => 'form,search'));
 // Attach to hooks:
index d42e36f..208d9a7 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 if (TYPO3_MODE === 'BE') {
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
@@ -24,4 +22,4 @@ if (TYPO3_MODE === 'BE') {
        );
 }
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('index_config');
-\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('index_config', 'EXT:indexed_search/locallang_csh_indexcfg.xlf');
\ No newline at end of file
+\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('index_config', 'EXT:indexed_search/locallang_csh_indexcfg.xlf');
index e7a3519..981ad1d 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 // Configure hook to query the fulltext index
 $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['indexed_search']['pi1_hooks']['getResultRows_SQLpointer'] = '&TYPO3\CMS\IndexedSearch\Hook\MysqlFulltextIndexHook';
 // Use all index_* tables except "index_rel" and "index_words"
index 14e0459..a6883ff 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
                'web',
index 94182db..d8c6369 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
                'web_info',
index 686443d..13cdf8d 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 // TYPO3 6.0 - Create page and TypoScript root template (automatically executed in 123-mode)
 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/install']['update']['rootTemplate'] = 'TYPO3\\CMS\\Install\\Updates\\RootTemplateUpdate';
index e7cbcfe..89d6b7f 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        // Register report module additions
        $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['providers']['typo3'][] = 'TYPO3\\CMS\\Install\\Report\\InstallStatusReport';
index 0963015..358d934 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 // Register language update command controller
 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] = 'TYPO3\\CMS\\Lang\\Command\\LanguageCommandController';
index 8995913..be45000 100644 (file)
@@ -1,9 +1,7 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
-if (TYPO3_MODE == 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
+if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
                // Registers a Backend Module
        \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
                'TYPO3.CMS.' . $_EXTKEY,
index 44b6247..039fea7 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
        '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:linkvalidator/Configuration/TsConfig/Page/pagetsconfig.txt">'
index 3b40c93..d27b464 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        // Add module
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
index 0f4f90f..01f7589 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        // Setting up scripts that can be run from the cli_dispatch.phpsh script.
        $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['cliKeys']['lowlevel_refindex'] = array('EXT:lowlevel/dbint/cli/refindex_cli.php', '_CLI_lowlevel');
index a94887a..3c6e40f 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 if (TYPO3_MODE === 'BE') {
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
index 7c96df8..3b0ef22 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        $opendocsPath = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('opendocs');
        // Register toolbar item
index 9ee4e29..8fb3567 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        // Now register the class as toolbar item
        $GLOBALS['TYPO3backend']->addToolbarItem('opendocs', 'TYPO3\\CMS\\Opendocs\\Controller\\OpendocsController');
index 66e41de..73ae415 100644 (file)
@@ -1,8 +1,5 @@
 <?php
-// Make sure that we are executed only from the inside of TYPO3
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 // Register OpenID processing service with TYPO3
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService(
index d84049b..5d5c515 100644 (file)
@@ -1,8 +1,5 @@
 <?php
-// Make sure that we are executed only from the inside of TYPO3
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 if (TYPO3_MODE === 'BE') {
        // Register wizard
index b216d32..5549ca4 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
                'web',
index 718ca21..27df54f 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
                'web_list',
index 7000c66..004e837 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler('RecyclerAjaxController::init', 'TYPO3\\CMS\\Recycler\\Controller\\RecyclerAjaxController->init');
 }
index 835d894..2cacdfa 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        // Add module
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
index 2293ea6..4aeeefb 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['TYPO3\\CMS\\Reports\\Task\\SystemStatusUpdateTask'] = array(
        'extension' => $_EXTKEY,
index e0f7aab..0851208 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
                'TYPO3.CMS.' . $_EXTKEY,
index 2d9ac57..6442dcf 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 // Add the service
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'TYPO3\\CMS\\Rsaauth\\RsaAuthService', array(
        'title' => 'RSA authentication',
index d8d8ff6..8b183d3 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 /**
  * This file is part of the TYPO3 CMS project.
index bd35116..0a66821 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'FE') {
        // Register frontend hook to add meta tag when rtehtmlarea is present and user agent is IE 11+
        $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['contentPostProc-output']['rtehtmlarea'] = 'TYPO3\\CMS\\Rtehtmlarea\\Hook\\Frontend\\Controller\\TypoScriptFrontendControllerHook->contentPostProcOutput';
index 5dcabf7..33172f3 100644 (file)
@@ -1,8 +1,5 @@
 <?php
-
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 if (!$TYPO3_CONF_VARS['BE']['RTEenabled']) {
        $TYPO3_CONF_VARS['BE']['RTEenabled'] = 1;
index b604b62..3ca9fa4 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 // Add static template for Click-enlarge rendering
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'static/clickenlarge/', 'Clickenlarge Rendering');
 // Add configuration of soft references on image tags in RTE content
index d3c99bf..de8706a 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 // Registering soft reference parser for img tags in RTE content
 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['softRefParser']['rtehtmlarea_images'] = '&TYPO3\\CMS\\Rtehtmlarea\\Hook\\SoftReferenceHook';
index dd50f58..ca915a4 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 // Adding soft reference keys in tt_content configuration
 // htmlArea RTE soft reference keys are inserted in front so that their tokens are inserted first
 $GLOBALS['TCA']['tt_content']['columns']['header']['config']['softref'] = 'typolink_tag' . ($GLOBALS['TCA']['tt_content']['columns']['header']['config']['softref'] ? ',' . $GLOBALS['TCA']['tt_content']['columns']['header']['config']['softref'] : '');
index fbc94fc..d915cb3 100644 (file)
@@ -1,8 +1,7 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
-if (TYPO3_MODE == 'BE') {
+defined('TYPO3_MODE') or die();
+
+if (TYPO3_MODE === 'BE') {
        // Take note of conflicting extensions
        $TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['conflicts'] = $EM_CONF[$_EXTKEY]['constraints']['conflicts'];
        // Register Status Report Hook
index 7f40298..9d48176 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 // Form evaluation function for fe_users
 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tce']['formevals']['tx_saltedpasswords_eval_fe'] = 'EXT:saltedpasswords/Classes/Evaluation/FrontendEvaluator.php';
index 0e00b6e..076215a 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 // Add context sensitive help (csh) for scheduler task
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_txsaltedpasswords', 'EXT:' . $_EXTKEY . '/locallang_csh_saltedpasswords.xlf');
index 9dd1d0e..09f27a6 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 // Register the Scheduler as a possible key for CLI calls
 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['cliKeys'][$_EXTKEY] = array(
        'EXT:' . $_EXTKEY . '/cli/scheduler_cli_dispatch.php',
index 740ba33..fe20213 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        // Add module
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
index a5d6fe6..6f95e53 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModule(
                'user',
index a2c062c..10323ac 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 // Register base authentication service
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService(
        $_EXTKEY,
index 20994a9..2ccebc9 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['sv']['services'] = array(
                'title' => 'LLL:EXT:sv/Resources/Private/Language/locallang.xlf:report_title',
index 96b3049..6a11199 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 if (TYPO3_MODE === 'BE') {
        $GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems'][] = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('sys_action') . 'toolbarmenu/registerToolbarItem.php';
index 169f35f..69c2073 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        // Now register the class as toolbar item
        $GLOBALS['TYPO3backend']->addToolbarItem('sys_action', 'TYPO3\\CMS\\SysAction\\ActionToolbarMenu');
index 1ddd470..e3a1e3d 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 // Register "switchableControllerActions" manually because it exists no plugin or module for sys_note
 $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['extbase']['extensions']['SysNote']['modules']['Note']['controllers'] = array(
index 1da78ec..7fdd4e2 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('sys_note');
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('sys_note', 'EXT:sys_note/Resources/Private/Language/locallang_csh_sysnote.xlf');
index 0c8d006..8739b7d 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE == 'BE') {
        // Register hooks for tstemplate module
        $TYPO3_CONF_VARS['SC_OPTIONS']['typo3/template.php']['preStartPageHook'][] = 'TYPO3\\CMS\\T3editor\\Hook\\TypoScriptTemplateInfoHook->preStartPageHook';
index 6f6670f..de3facb 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 if (TYPO3_MODE === 'BE') {
        // Register AJAX handlers:
index 323ec6b..db510b8 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('
        RTE.default.skin = EXT:' . $_EXTKEY . '/rtehtmlarea/htmlarea.css
        RTE.default.FE.skin = EXT:' . $_EXTKEY . '/rtehtmlarea/htmlarea.css
index 499f007..c4575bc 100644 (file)
@@ -1,8 +1,7 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
-if (TYPO3_MODE == 'BE' || TYPO3_MODE == 'FE' && isset($GLOBALS['BE_USER'])) {
+defined('TYPO3_MODE') or die();
+
+if (TYPO3_MODE === 'BE' || TYPO3_MODE === 'FE' && isset($GLOBALS['BE_USER'])) {
        global $TBE_STYLES;
        // Register as a skin
        $TBE_STYLES['skins'][$_EXTKEY] = array(
index e69f195..ffdc61a 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
                'tools_txtaskcenterM1',
index b79dc81..e41fa34 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 if (TYPO3_MODE === 'BE') {
        $extensionPath = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY);
index 90e43d6..6ddb445 100644 (file)
@@ -1,7 +1,5 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
 // register the hook to actually do the work within TCEmain
 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass']['version'] = '&TYPO3\\CMS\\Version\\Hook\\DataHandlerHook';
index 7b607dc..238c173 100644 (file)
@@ -1,8 +1,7 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
-if (TYPO3_MODE === 'BE') {
+defined('TYPO3_MODE') or die();
+
+if (TYPO3_MODE == 'BE') {
        if (!\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('workspaces')) {
                // Register version_click_module
                \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addModulePath(
index 06eaef7..8dbae2d 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
        // Module Web->View
        \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
index dc6579d..7d8cca8 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
                'web_func',
index 622a7ac..568ad77 100644 (file)
@@ -1,7 +1,6 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
                'web_func',
index c4188a9..711b53a 100644 (file)
@@ -1,9 +1,7 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
 
-if (TYPO3_MODE == 'BE') {
+if (TYPO3_MODE === 'BE') {
        $workspaceSelectorToolbarItemClassPath = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('workspaces', 'Classes/ExtDirect/WorkspaceSelectorToolbarItem.php');
        $GLOBALS['TYPO3_CONF_VARS']['typo3/backend.php']['additionalBackendItems'][] = $workspaceSelectorToolbarItemClassPath;
 }
index 697827f..5eca5e3 100644 (file)
@@ -1,9 +1,8 @@
 <?php
-if (!defined('TYPO3_MODE')) {
-       die('Access denied.');
-}
+defined('TYPO3_MODE') or die();
+
 // avoid that this block is loaded in the frontend or within the upgrade-wizards
-if (TYPO3_MODE == 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
+if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
        /** Registers a Backend Module */
        \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
                'TYPO3.CMS.' . $_EXTKEY,