Révision 15ef2b99 plugins/anet_epacks/front/lib/odf.php
plugins/anet_epacks/front/lib/odf.php | ||
---|---|---|
230 | 230 |
throw new OdfException('Permission denied : can\'t create ' . $file); |
231 | 231 |
} |
232 | 232 |
$this->_save(); |
233 |
copy($this->tmpfile, $file);
|
|
233 |
copy($this->tmpfile, $file); |
|
234 | 234 |
} else { |
235 | 235 |
$this->_save(); |
236 | 236 |
} |
... | ... | |
246 | 246 |
$this->file->open($this->tmpfile); |
247 | 247 |
$this->_parse(); |
248 | 248 |
if (! $this->file->addFromString('content.xml', $this->contentXml)) { |
249 |
//erics 20100818 ca deconne ici print "Error during file export"; |
|
249 | 250 |
throw new OdfException('Error during file export'); |
250 | 251 |
} |
251 | 252 |
foreach ($this->images as $imageKey => $imageValue) { |
Formats disponibles : Unified diff