diff options
Diffstat (limited to 'library')
-rwxr-xr-x | library/SSRS/Object/ReportOutput.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/library/SSRS/Object/ReportOutput.php b/library/SSRS/Object/ReportOutput.php index 628b814..b3ef658 100755 --- a/library/SSRS/Object/ReportOutput.php +++ b/library/SSRS/Object/ReportOutput.php @@ -11,11 +11,12 @@ class SSRS_Object_ReportOutput extends SSRS_Object_Abstract { header("Cache-Control: public"); header("Content-Description: File Transfer"); header('Content-Disposition: attachment; filename="' . $filename . '"'); - header("Content-Type: " . $this->mimeType); + header("Content-Type: " . $this->MimeType); header("Content-Transfer-Encoding: binary"); header("Content-Length: " . strlen($this->Result)); - die($this->Result); + echo($this->Result); + exit(0); } public function __toString() { |