[TASK] Add missing TYPO3_MODE checks in ext_localconf.php 96/42796/2
authorWouter Wolters <typo3@wouterwolters.nl>
Thu, 20 Aug 2015 22:34:46 +0000 (00:34 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Fri, 21 Aug 2015 06:38:19 +0000 (08:38 +0200)
Resolves: #69222
Releases: master
Change-Id: I4e0d737a8035df1c178a584eed203dd48176babe
Reviewed-on: http://review.typo3.org/42796
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/opendocs/ext_localconf.php
typo3/sysext/sys_action/ext_localconf.php
typo3/sysext/version/ext_tables.php

index e4180af..21ca562 100644 (file)
@@ -1,4 +1,6 @@
 <?php
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        $GLOBALS['TYPO3_CONF_VARS']['BE']['toolbarItems'][1435433112] = \TYPO3\CMS\Opendocs\Backend\ToolbarItems\OpendocsToolbarItem::class;
 }
index 265ddbf..595eec8 100644 (file)
@@ -1,4 +1,6 @@
 <?php
+defined('TYPO3_MODE') or die();
+
 if (TYPO3_MODE === 'BE') {
        $GLOBALS['TYPO3_CONF_VARS']['BE']['toolbarItems'][1435433113] = 'TYPO3\\CMS\\SysAction\\Backend\\ToolbarItems\\ActionToolbarItem';
 }
\ No newline at end of file
index 56fa5f5..e386bf7 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 defined('TYPO3_MODE') or die();
 
-if (TYPO3_MODE == 'BE' && !\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('workspaces')) {
+if (TYPO3_MODE === 'BE' && !\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('workspaces')) {
        $GLOBALS['TBE_MODULES_EXT']['xMOD_alt_clickmenu']['extendCMclasses'][] = array(
                'name' => \TYPO3\CMS\Version\ClickMenu\VersionClickMenu::class,
        );