Project

General

Profile

Bug #17675 ยป t3lib_div.patch

Administrator Admin, 2007-10-12 12:41

View differences:

class.t3lib_div.php (working copy)
return '\'' . $escapedValue . '\'';
}
/**
* Replace the XCLASS statement at end of a class file (avoid NOTICE ERROR, fix global scope)
*
* @param string $xclassKey
* @access static
* @return void
*/
public static function XCLASS($xclassKey) {
global $TYPO3_CONF_VARS;
if (defined('TYPO3_MODE') && isset($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS'][$xclassKey]) && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS'][$xclassKey]) {
self::requireOnce($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS'][$xclassKey])
}
}
/**
* Ends and cleans all output buffers
    (1-1/1)