[TYPO3-dev] Feature request TYPO3 4.5:: no XCLASS warning
Franz Holzinger
franz at ttproducts.de
Tue Aug 17 18:20:04 CEST 2010
Hello,
the EM shall be changed in a way which permits developers to get rid of
the XCLASS warning. This wrong warning message is a big problem, because
it frightens many users and they think to have found a bug in an extension.
proposal:
add the comment
// NO_CLASS_WARNING
into such a file instead of the XCLASS php code.
if (defined('TYPO3_MODE') &&
$GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/tt_products/lib/class.tx_ttproducts_billdelivery.php'])
{
include_once($GLOBALS['TYPO3_CONF_VARS'][TYPO3_MODE]['XCLASS']['ext/tt_products/lib/class.tx_ttproducts_billdelivery.php']);
}
When the text 'NO_CLASS_WARNING' is found inside of a file, then no
XCLASS warning will be shown. in the EM.
If you agree, then I will provide a patch for TYPO3 4.5.
- Franz
More information about the TYPO3-dev
mailing list