[TYPO3-core] RFC: #12295: Cleaning config_default, exclude values from being listed in install tool, all configuration

Steffen Kamper info at sk-typo3.de
Sun Nov 1 18:18:31 CET 2009


Hi Marcus,

Marcus Krause schrieb:
> 
> PS: I still consider the numerical check only in t3lib_div::getURL() to
> be buggy. I manually maintain localconf settings and for above mentioned
> setting I have a value of TRUE/int(1) or FALSE/int(0) (that is no
> strings) and expect it to be still okay.

no, it's correct. If you save setting, the value is saved as string all 
the time, means it's written to localconf like
$TYPO3_CONF_VARS['SYS']['curlUse'] == '1';

So the boolean is gone after this and value is string.
We don't have a matrix to change the values after reading back to 
int/boolean. Also the declaration is only for render in "All settings" 
where declaration is read from comment.

vg Steffen


More information about the TYPO3-team-core mailing list