mirror of
https://github.com/FriendsOfTYPO3/feedit.git
synced 2024-11-09 17:26:09 +01:00
[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:
parent
32239ee71a
commit
e54315fbff
1 changed files with 1 additions and 4 deletions
|
@ -1,8 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
defined('TYPO3_MODE') or die();
|
||||||
if (!defined('TYPO3_MODE')) {
|
|
||||||
die('Access denied.');
|
|
||||||
}
|
|
||||||
|
|
||||||
// Register the edit panel view.
|
// Register the edit panel view.
|
||||||
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/classes/class.frontendedit.php']['edit'] = 'TYPO3\\CMS\\Feedit\\FrontendEditPanel';
|
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/classes/class.frontendedit.php']['edit'] = 'TYPO3\\CMS\\Feedit\\FrontendEditPanel';
|
||||||
|
|
Loading…
Reference in a new issue