Commit c70f20bd authored by Vincent Sherwood's avatar Vincent Sherwood

ZP-847 Remove fseek from encoder as not all stream types support it. Released...

ZP-847 Remove fseek from encoder as not all stream types support it. Released under the Affero GNU General Public License (AGPL) version 3.
parent 15835a42
......@@ -306,7 +306,6 @@ class WBXMLEncoder extends WBXMLDefs {
private function _contentStream($stream, $asBase64) {
// write full stream, including the finalizing terminator to the output stream (stuff outTermStr() would do)
$this->outByte(self::WBXML_STR_I);
fseek($stream, 0, SEEK_SET);
if ($asBase64) {
$out_filter = stream_filter_append($this->_out, 'convert.base64-encode');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment