Поправил типы

This commit is contained in:
CORP\phedor 2018-02-16 12:11:52 +03:00
parent dd757b3c1e
commit 8f5d029868
2 changed files with 5 additions and 11 deletions

View file

@ -17,7 +17,9 @@ class Setup
protected $stack = array();
public $zip;
public $target;
public $source;
public function __construct($file)
{
@ -25,6 +27,7 @@ class Setup
$this->node = simplexml_load_file($file);
$this->target = '';
$this->source = '';
$this->zip = new ZipArchive();
$this->zip->open(strtr($file, array('.xml' => '.zip')));