/** * Overwritten Mage_Archive_Helper_File constructor with zlib extension check * @param string $filePath * @throws Mage_Exception */ public function __construct($filePath) { if (!function_exists('gzopen')) { throw new Mage_Exception('PHP Extensions "zlib" must be loaded.'); } parent::__construct($filePath); }