protected function initPath()
 {
     parent::initPath();
     if ($this->app_id == 'webasyst') {
         $this->path = wa()->getConfig()->getPath('widgets') . '/' . $this->widget_id . '/';
     } else {
         $this->path = wa()->getAppPath('widgets/' . $this->widget_id, $this->app_id) . '/';
     }
 }
 protected function initPath()
 {
     parent::initPath();
     $this->path = wa()->getAppPath('plugins/' . $this->plugin_id, $this->app_id) . '/';
 }
 protected function initPath()
 {
     parent::initPath();
     $this->path = wa()->getAppPath(null, $this->app_id) . '/';
 }