mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-24 17:19:29 +00:00
Use class_exists() with FALSE second argument
This commit is contained in:
@@ -236,7 +236,7 @@ class PHPExcel_Reader_Excel2007 implements PHPExcel_Reader_IReader
|
||||
}
|
||||
|
||||
// Check if zip class exists
|
||||
if (!class_exists('ZipArchive')) {
|
||||
if (!class_exists('ZipArchive',FALSE)) {
|
||||
throw new Exception("ZipArchive library is not enabled");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user