[TYPO3-core] RFC: Bug 6103: EM diplays only a white page when something is wrong
Franz Holzinger
franz at ttproducts.de
Thu May 20 08:04:49 CEST 2010
Le 22/12/2008 13:49, Franz Holzinger a écrit :
> Hello Benjamin,
>
>> I checked your patch and have a question about this part.
>>
>> +function displayErrors($errortext='') {
>> + global $TYPO3_CONF_VARS;
>> +
>> + if (isset($TYPO3_CONF_VARS['SYS']) &&
>> is_array($TYPO3_CONF_VARS['SYS'])) {
>> + $displayErrors =
>> intval($TYPO3_CONF_VARS['SYS']['displayErrors']);
>> + }
>>
>>
>> couldn't we just do a
>>
>> $displayErrors =
>> (isset($GLOBALS['TYPO3_CONF_VARS']['SYS']['displayErrors']) ?
>> $GLOBALS['TYPO3_CONF_VARS']['SYS']['displayErrors'] : 0);
>>
>>
>> Rest looks good so far.
>
> Yes, this would be fine. I have improved the debug output.
>
> - Franz
>
>
>
reminder no.1
More information about the TYPO3-team-core
mailing list