Fix: temporary folder when creating ODT segments on Windows or system…

This commit is contained in:
Laurent Destailleur 2012-12-29 01:25:56 +01:00
parent 1722d58196
commit 6ff9444903

View File

@ -34,7 +34,7 @@ class Segment implements IteratorAggregate, Countable
$this->xml = (string) $xml; $this->xml = (string) $xml;
$this->odf = $odf; $this->odf = $odf;
$zipHandler = $this->odf->getConfig('ZIP_PROXY'); $zipHandler = $this->odf->getConfig('ZIP_PROXY');
$this->file = new $zipHandler(); $this->file = new $zipHandler($this->odf->getConfig('PATH_TO_TMP'));
$this->_analyseChildren($this->xml); $this->_analyseChildren($this->xml);
} }
/** /**