diff options
author | Arron Woods <aw@chartblocks.com> | 2015-05-20 16:06:53 +0100 |
---|---|---|
committer | Arron Woods <aw@chartblocks.com> | 2015-05-20 16:06:53 +0100 |
commit | 35c2d9628cc4f3faacaf85403606b727b0466cc0 (patch) | |
tree | 9a16f39539403ad27be4346094b7b5849df1b64c /library/SSRS/Report | |
parent | 482ce747db34349ba131b9b01bc77b18ab6168c9 (diff) | |
download | php-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.php | 5 |
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; } } |