예제 #1
0
 public function __construct()
 {
     $this->model = new application_frontend_content_model();
     $this->view = new application_frontend_content_view();
     $this->user = $this->view->user = $this->model->user = $GLOBALS['user'];
     parent::checkLogin($this->user['login']);
 }
예제 #2
0
 public function __construct()
 {
     $this->model = new application_frontend_home_model();
     $this->view = new application_frontend_home_view();
     $this->user = $this->view->user = $this->model->user = $GLOBALS['user'];
     $this->view->site['name'] = PROJECT . ' | ' . $this->user['info']['name'];
     parent::checkLogin($this->user['login']);
     application_frontend_event_controller::checkEventEmailInvitation($this->user['myuid']);
     self::updatePageView();
 }