Project

General

Profile

Bug #17292 ยป 20080124_ajax_charset.patch

Administrator Admin, 2008-01-24 17:41

View differences:

typo3/ajax.php (working copy)
$TYPO3_AJAX = true;
require('init.php');
require('template.php'); // needed so $LANG is loaded
require('classes/class.typo3ajax.php');
typo3/classes/class.typo3ajax.php (working copy)
* @return void
*/
public function init($id) {
global $TYPO3_CONF_VARS;
global $LANG;
if (isset($TYPO3_CONF_VARS['BE']['forceCharset']) && trim($TYPO3_CONF_VARS['BE']['forceCharset'])) {
$this->charset = $TYPO3_CONF_VARS['BE']['forceCharset'];
if ($LANG->charset) {
$this->charset = $LANG->charset;
}
$this->id = $id;
    (1-1/1)