Project

General

Profile

Feature #20986 ยป class.typo3ajax-status500.patch

Administrator Admin, 2009-09-03 21:05

View differences:

typo3/classes/class.typo3ajax.php (working copy)
* @return void
*/
protected function renderAsError() {
header('HTTP/1.0 500 AJAX error');
header('Content-type: text/xml; charset='.$this->charset);
header('X-JSON: false');
die('<t3err>'.htmlspecialchars($this->errorMessage).'</t3err>');
    (1-1/1)