Feature #553 - PclZip library: A patch has been applied for the renamed function gzopen() as gzopen64() in Ubuntu Karmic Coala 9.10 (php5 5.2.10.dfsg.1-2ubuntu6). See http://dokeoslead.wordpress.com/2009/09/30/pclzip-and-gzopen64/ , https://bugs.launchpad.net/ubuntu/+source/php5/+bug/451405

skala
Ivan Tcholakov 15 years ago
parent dcf0059147
commit 9351669d2f
  1. 14
      main/inc/lib/pclzip/pclzip.lib.php

@ -23,6 +23,20 @@
// //
// -------------------------------------------------------------------------------- // --------------------------------------------------------------------------------
// $Id: pclzip.lib.php,v 1.60 2009/09/30 21:01:04 vblavet Exp $ // $Id: pclzip.lib.php,v 1.60 2009/09/30 21:01:04 vblavet Exp $
// --------------------------------------------------------------------------------
// --------------------------------------------------------------------------------
// A patch about the renamed function gzopen() as gzopen64()
// in Ubuntu Karmic Koala 9.10 (php5 5.2.10.dfsg.1-2ubuntu6).
// http://dokeoslead.wordpress.com/2009/09/30/pclzip-and-gzopen64/
// https://bugs.launchpad.net/ubuntu/+source/php5/+bug/451405
// http://php.net/manual/en/function.gzopen.php
// --------------------------------------------------------------------------------
if (!function_exists('gzopen') && function_exists('gzopen64')) {
function gzopen($filename, $mode, $use_include_path = 0) {
return gzopen64($filename, $mode, $use_include_path);
}
}
// -------------------------------------------------------------------------------- // --------------------------------------------------------------------------------
// ----- Constants // ----- Constants

Loading…
Cancel
Save