2008-09-03 Ingo Renner <ingo@typo3.org>
* Added feature #9281: Add a method to easily do a HTTP redirect
+ * Declared t3lib_div::readLLPHPfile() and t3lib_div::removeXSS() static
2008-09-02 Stanislas Rolland <typo3@sjbr.ca>
* @param string Input string
* @return string Input string with potential XSS code removed
*/
- public function removeXSS($string) {
+ public static function removeXSS($string) {
require_once(PATH_typo3.'contrib/RemoveXSS/RemoveXSS.php');
$string = RemoveXSS::RemoveXSS($string);
return $string;
* @param string Character set (optional)
* @return array LOCAL_LANG array in return.
*/
- function readLLPHPfile($fileRef, $langKey, $charset='') {
+ public static function readLLPHPfile($fileRef, $langKey, $charset='') {
if (is_object($GLOBALS['LANG'])) {
$csConvObj = &$GLOBALS['LANG']->csConvObj;