$compressorInstance = NULL;
// Get new instance
- if ((function_exists('gzcompress')) && (function_exists('gzuncompress'))) {
+ if ((function_exists('gzencode')) && (function_exists('gzdecode'))) {
// Compressor can maybe be used
$compressorInstance = new GzipCompressor();
} // END - if
} // END - if
// Return the compressed stream
- return gzcompress($streamData, 1);
+ return gzencode($streamData, 1);
}
/**
} // END - if
// Return the decompressed stream
- return gzuncompress($streamData);
+ return gzdecode($streamData);
}
/**