Ejemplo n.º 1
0
 /**
  * authenticate
  *
  * @access      public
  * @return      mixed
  */
 public function authenticate()
 {
     try {
         return parent::authenticate();
     } catch (Framework_Exception $e) {
         $this->output($result);
     }
 }
Ejemplo n.º 2
0
 /**
  * authenticate
  *
  * @access      public
  * @return      mixed
  */
 public function authenticate()
 {
     $result = @parent::authenticate();
     if (PEAR::isError($result)) {
         $this->output($result);
         exit;
     }
     return $result;
 }