Skip to content
Snippets Groups Projects
Commit 1959dbb1 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix in odt library

parent ef5d9dbc
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,7 @@ class Odf
if (! class_exists($this->config['ZIP_PROXY'])) {
throw new OdfException($this->config['ZIP_PROXY'] . ' class not found - check your php settings');
}
$this->file = new $zipHandler();
$this->file = new $zipHandler($this->tmpdir);
if ($this->file->open($filename) !== true) { // This also create the tmpdir directory
throw new OdfException("Error while Opening the file '$filename' - Check your odt file");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment