You are here

function PclZip::PclZip in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/PCLZip/pclzip.lib.php \PclZip::PclZip()

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/PCLZip/pclzip.lib.php, line 215

Class

PclZip

Code

function PclZip($p_zipname) {

  // ----- Tests the zlib
  if (!function_exists('gzopen')) {
    die('Abort ' . basename(__FILE__) . ' : Missing zlib extensions');
  }

  // ----- Set the attributes
  $this->zipname = $p_zipname;
  $this->zip_fd = 0;
  $this->magic_quotes_status = -1;

  // ----- Return
  return;
}