コード例 #1
0
ファイル: Zip.php プロジェクト: 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);
 }
コード例 #2
0
ファイル: Package.php プロジェクト: yvesh/jbuild
 /**
  * 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";
 }