예제 #1
0
 /**
  * @return Aitoc_Aitsys_Model_Module_Install
  */
 public function init()
 {
     parent::init();
     $dir = $this->tool()->filesystem()->getLocalDir() . str_replace('_', DS, $this->getKey()) . DS;
     $this->setData('source_dir', $dir);
     return $this;
 }
예제 #2
0
 /**
  *
  * @return Aitoc_Aitsys_Model_Module_License
  */
 public function init()
 {
     parent::init();
     $path = $this->getPlatform()->getLicenseDir() . $this->getModule()->getId() . '.php';
     $this->setPath($path);
     return $this;
 }
예제 #3
0
 /**
  *
  * @return Aitoc_Aitsys_Model_Module_License
  */
 public function init()
 {
     parent::init();
     //        $path = $this->getPlatform()->getInstallDir().$this->getModule()->getId().'.php';
     $path = $this->getPlatform()->getLicenseDir() . $this->getModule()->getId() . '.php';
     // rastoguev fix
     $this->setPath($path);
     return $this;
 }