function init() { $this->view = 'project.show.html'; $this->uid = $this->getSession('user.id'); $this->set('uid', $this->uid); parent::init(); }
function init() { $this->view = 'project.new.html'; $this->db = $this->dbFactory('sqlite:localhost/' . $this->getConf('root.dir') . '/data/project.db'); $this->uid = $this->getSession('user.id'); parent::init(); }