diff --git a/view/class.tx_feedit_editpanel.php b/view/class.tx_feedit_editpanel.php index d33f3be..5900c35 100644 --- a/view/class.tx_feedit_editpanel.php +++ b/view/class.tx_feedit_editpanel.php @@ -418,8 +418,8 @@ class tx_feedit_editpanel { } -if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/feedit/view/class.tx_feedit_editpanel.php']) { - include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/feedit/view/class.tx_feedit_editpanel.php']); +if (defined('TYPO3_MODE') && isset($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/feedit/view/class.tx_feedit_editpanel.php'])) { + include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/feedit/view/class.tx_feedit_editpanel.php']); } ?> \ No newline at end of file