Поправил типы
This commit is contained in:
parent
dd757b3c1e
commit
8f5d029868
2 changed files with 5 additions and 11 deletions
|
|
@ -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')));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue