0011153.patch

Administrator Admin, 2009-05-20 12:04

Download (938 Bytes)

View differences:

t3lib/class.t3lib_div.php (Arbeitskopie)
4906 4906
	}
4907 4907

  
4908 4908
	/**
4909
	 * Requires a class for TYPO3
4910
	 * Useful to require classes from inside other classes (not global scope).
4911
	 * A limited set of global variables are available (see function)
4912
	 * 
4913
	 * @param	string		$requireFile: Path of the file to be included
4914
	 * @return	void
4915
	 */
4916
	public static function requireFile($requireFile) {
4917
		global $T3_SERVICES, $T3_VAR, $TYPO3_CONF_VARS;
4918
		require $requireFile;
4919
	}
4920

  
4921
	/**
4909 4922
	 * Simple substitute for the PHP function mail() which allows you to specify encoding and character set
4910 4923
	 * The fifth parameter ($encoding) will allow you to specify 'base64' encryption for the output (set $encoding=base64)
4911 4924
	 * Further the output has the charset set to ISO-8859-1 by default.