[TYPO3-core] RFC #14618: Bug: Add debug feature to Ext Direct

Stefan Galinski sgalinski at df.eu
Wed Jun 9 13:58:28 CEST 2010


Steffen Kamper wrote:

> Hi,
> 
> here is v3 with some cosmetic changes:
> * added \n to the message to have line breaks in alert and console
> * splitted linebreak message with JS linebrakes
> * some CGL fixes
> 
> vg Steffen

+1 by testing and reading, but please change the following code:

1)
-if (typeof console == "object") {
+if (typeof console === "object") {

2)
$noCache = t3lib_div::_GET('no_cache') ? TRUE : ($GLOBALS['TYPO3_CONF_VARS']
['SYS']['extCache'] === '0');

The extCache configuration variable is an int by definition. The strict 
check doesn't work in this case.

-- 
Stefan Galinski


More information about the TYPO3-team-core mailing list