Skip to content
This repository has been archived by the owner on Jan 2, 2019. It is now read-only.

Automatically fall back to PCLZip if ZipArchive not available #299

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Classes/PHPExcel/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ public static function setZipClass($zipClass)
*/
public static function getZipClass()
{
// Auto fall back to PCLZip if ZipArchive not available
if (!class_exists(self::$_zipClass)) {
self::$_zipClass = self::PCLZIP;
}
return self::$_zipClass;
} // function getZipClass()

Expand Down
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Fixed in develop branch for release v1.8.0:
- Feature: (MBaker) - Added Horizontal FILL alignment for Excel5 and Excel2007 Readers/Writers, and Horizontal DISTRIBUTED alignment for Excel2007 Reader/Writer
- Feature: (trvrnrth) Work Item GH-261 - Add support for reading protected (RC4 encrypted) .xls files
- Feature: (LWol) Work Item GH-252 - Adding support for macros, Ribbon in Excel 2007
- Feature: (EPlaut) Work Item GH-278 - Automatically fall back to PCLZip if ZipArchive not available
- General: (cdhutch) Work item 20055 - Remove array_shift in ReferenceHelper::insertNewBefore improves column or row delete speed
- General: (MBaker) - Improve stock chart handling and rendering, with help from Swashata Ghosh
- General: (MBaker) - Fix to calculation properties for Excel2007 so that the opening application will only recalculate on load if it's actually required
Expand Down