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'); }