Exemplo n.º 1
0
 function authlib()
 {
     parent::libraries();
     $this->db = new Database();
     $this->handler = $this->db->handler;
     # Lets retrieve the token
     $this->token = $_COOKIE['token'];
     if (!$this->token) {
         $this->token = 0;
     }
     # Don't change this unless you are running multiple memberBoxes in the same database.
     $app_name = 'memberBox';
 }