[Fusionforge-commits] r16150 - branches/Branch_5_2/src/common/docman/engine

Franck VILLAUME nerville at fusionforge.org
Sat Aug 25 19:22:25 CEST 2012


Author: nerville
Date: 2012-08-25 19:22:24 +0200 (Sat, 25 Aug 2012)
New Revision: 16150

Modified:
   branches/Branch_5_2/src/common/docman/engine/parser_oo.php
Log:
fix oo parser

Modified: branches/Branch_5_2/src/common/docman/engine/parser_oo.php
===================================================================
--- branches/Branch_5_2/src/common/docman/engine/parser_oo.php	2012-08-25 17:09:04 UTC (rev 16149)
+++ branches/Branch_5_2/src/common/docman/engine/parser_oo.php	2012-08-25 17:22:24 UTC (rev 16150)
@@ -38,6 +38,7 @@
 $zip = new ZipArchive;
 if ($zip->open($fichin) === TRUE) {
 	$output_dir = tempnam(forge_get_config('data_path'), "tmp");
+	unlink($output_dir);
 	mkdir($output_dir);
 	$zip->extractTo($output_dir, array('content.xml'));
 	$zip->close();




More information about the Fusionforge-commits mailing list