[TASK] Change check for TYPO3_MODE

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
This commit is contained in:
Wouter Wolters 2014-07-05 14:19:05 +02:00 committed by Anja Leichsenring
parent 32239ee71a
commit e54315fbff

View 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';