public function __construct() { parent::__construct(); $this->tag = MTag::app(); $this->template = 'tag/v_tags.php'; $this->check_access('edit_posts'); }
public function __construct() { parent::__construct(); $this->left = View::template('v_left.php'); $this->post = MPost::app(); $this->image = MImage::app(); $this->tag = MTag::app(); $this->comment = MComment::app(); }
public function __construct() { parent::__construct(); $this->post = MPost::app(); //$this->left = View::template('post/v_left.php'); $this->image = Image::app(); $this->tag = Tag::app(); $this->check_access('edit_posts'); }
public function uninstall() { die('serious?'); // clears all tables !!! \Model\Post::setdown(); \Model\Tag::setdown(); \Model\Comment::setdown(); \Model\User::setdown(); $cfg = new Config(); $cfg->clear('ACTIVE_DB'); $cfg->save(); \Base::instance()->clear('SESSION'); echo "goodbye!"; }