[TYPO3-core] RFC: #11279: t3lib_div has calls to debug() without namespace
Felix Oertel
post at typo3felix.de
Thu Oct 15 19:38:57 CEST 2009
Hi,
ok, I didn't see that comin. In the comment it says:
* Usage: 8
and the calls are 8, so it seemed logic to me. ;)
I will open a thread for this in the Dev-List, for this is the wrong
place to have a discussion, how to handle this issue.
So kindly ignore the patch for now.
Regards, Felix
Ernesto Baschny [cron IT] schrieb:
> Hi,
>
> this is not a namespace error. Those are different calls. The function
> "debug()" is defined in config_default.php. This one respects the
> devIPmask and also might use $GLOBALS['error'] object, if this is avaliable.
>
> So changing that will call a different function without that features.
>
> It might look ugly (function in config_default), but this is another
> matter (to clean that up). :)
>
> Cheers,
> Ernesto
>
> Felix Oertel schrieb:
>> Hi,
>>
>> This is a SVN patch request.
>>
>> Type:
>> Bugfix
>>
>> Branch:
>> trunk
>>
>> BT reference:
>> http://bugs.typo3.org/view.php?id=11279
>>
>> Problem:
>> In t3lib_div some calls to debug() lack namespace.
>>
>> Solution:
>> Just add namespace to the calls.
>>
>> Grüße, Felix
>>
More information about the TYPO3-team-core
mailing list