Example #1
0
File: Zip.php Project: nibra/jorobo
 /**
  * Initialize Build Task
  */
 public function __construct()
 {
     parent::__construct();
     $this->target = JPATH_BASE . "/dist/" . $this->getExtensionName() . "-" . $this->getConfig()->version . ".zip";
     $this->zip = new \ZipArchive($this->target, \ZipArchive::CREATE);
 }
Example #2
0
 /**
  * Initialize Build Task
  */
 public function __construct()
 {
     parent::__construct();
     $this->target = JPATH_BASE . "/dist/pkg-" . $this->getExtensionName() . "-" . $this->getConfig()->version . ".zip";
     $this->current = JPATH_BASE . "/dist/current";
 }