diff --git a/src/zip_file.php b/src/zip_file.php index f716fbe..914311b 100644 --- a/src/zip_file.php +++ b/src/zip_file.php @@ -325,7 +325,7 @@ class archive { } class zip_file extends archive { function __construct($name) { - $this->archive($name); + parent::__construct($name); $this->options['type'] = "zip"; } function create_zip() {