Enhanced feature checks.

This commit is contained in:
Lars Jung 2012-03-27 04:05:55 +02:00
parent 0d22407a2d
commit 972be7677c
4 changed files with 24 additions and 54 deletions

View file

@ -5,6 +5,12 @@ class ZipIt {
private $h5ai;
public static function isUsable() {
return class_exists("ZipArchive");
}
public function __construct($h5ai) {
$this->h5ai = $h5ai;