예제 #1
0
 public function SendAuthenticationKey()
 {
     if ($this->session->has('authkey')) {
         REST::$authKey = $this->session->get('authkey');
         $this->view->side_categories = true;
         $this->view->authorized = true;
     } else {
         REST::$authKey = null;
         $this->view->side_categories = false;
         $this->view->authorized = false;
     }
 }