-// --------------------------------------------------------------------------------
-// $Id: pclzip.php 19990 2012-11-03 12:57:57Z eric@smellup.net $
-// --------------------------------------------------------------------------------
+
+ // personnalisations spip
+ if (!defined('PCLZIP_TEMPORARY_DIR')) {
+ define('PCLZIP_TEMPORARY_DIR', _DIR_TMP);
+ }
+ if (!function_exists('gzopen') && function_exists('gzopen64')) {
+ function gzopen($filename, $mode, $use_include_path = 0) {
+ return gzopen64($filename, $mode, $use_include_path);
+ }
+ }
+ // fin personnalisations spip