summaryrefslogtreecommitdiffstats
path: root/library/SSRS/Report
diff options
context:
space:
mode:
authorArron Woods <aw@chartblocks.com>2015-05-20 16:06:53 +0100
committerArron Woods <aw@chartblocks.com>2015-05-20 16:06:53 +0100
commit35c2d9628cc4f3faacaf85403606b727b0466cc0 (patch)
tree9a16f39539403ad27be4346094b7b5849df1b64c /library/SSRS/Report
parent482ce747db34349ba131b9b01bc77b18ab6168c9 (diff)
downloadphp-ssrs-35c2d9628cc4f3faacaf85403606b727b0466cc0.zip
php-ssrs-35c2d9628cc4f3faacaf85403606b727b0466cc0.tar.gz
php-ssrs-35c2d9628cc4f3faacaf85403606b727b0466cc0.tar.bz2
ReplacementRoot hack and resource rendering
Diffstat (limited to 'library/SSRS/Report')
-rw-r--r--library/SSRS/Report/CachedStreamResource.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/library/SSRS/Report/CachedStreamResource.php b/library/SSRS/Report/CachedStreamResource.php
index 013eaee..949c6d7 100644
--- a/library/SSRS/Report/CachedStreamResource.php
+++ b/library/SSRS/Report/CachedStreamResource.php
@@ -39,9 +39,8 @@ class CachedStreamResource {
public function send() {
$stream = $this->read();
-
- header('Content-Type: ' . $stream->MimeType);
- echo $stream->Result;
+ $stream->send();
+ return $this;
}
}