mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-30 15:05:15 -04:00
Enhanced feature checks.
This commit is contained in:
parent
0d22407a2d
commit
972be7677c
4 changed files with 24 additions and 54 deletions
|
@ -5,6 +5,12 @@ class ZipIt {
|
|||
private $h5ai;
|
||||
|
||||
|
||||
public static function isUsable() {
|
||||
|
||||
return class_exists("ZipArchive");
|
||||
}
|
||||
|
||||
|
||||
public function __construct($h5ai) {
|
||||
|
||||
$this->h5ai = $h5ai;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue