/** * @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; }
/** * * @return Aitoc_Aitsys_Model_Module_License */ public function init() { parent::init(); $path = $this->getPlatform()->getLicenseDir() . $this->getModule()->getId() . '.php'; $this->setPath($path); return $this; }
/** * * @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; }