main/inc/lib/xajax/xajax.inc.php 1 location
|
@@ 674-675 (lines=2) @@
|
| 671 |
|
} |
| 672 |
|
|
| 673 |
|
$sContentHeader = "Content-type: text/xml;"; |
| 674 |
|
if ($this->sEncoding && strlen(trim($this->sEncoding)) > 0) |
| 675 |
|
$sContentHeader .= " charset=".$this->sEncoding; |
| 676 |
|
header($sContentHeader); |
| 677 |
|
if ($this->bErrorHandler && !empty( $GLOBALS['xajaxErrorHandlerText'] )) { |
| 678 |
|
$sErrorResponse = new xajaxResponse(); |
main/inc/lib/xajax/xajaxResponse.inc.php 1 location
|
@@ 490-491 (lines=2) @@
|
| 487 |
|
function getXML() |
| 488 |
|
{ |
| 489 |
|
$sXML = "<?xml version=\"1.0\""; |
| 490 |
|
if ($this->sEncoding && strlen(trim($this->sEncoding)) > 0) |
| 491 |
|
$sXML .= " encoding=\"".$this->sEncoding."\""; |
| 492 |
|
$sXML .= " ?"."><xjx>" . $this->xml . "</xjx>"; |
| 493 |
|
|
| 494 |
|
return $sXML; |