Esempio n. 1
0
 function is_identified()
 {
     if (!$this->user) {
         $this->user = '******';
         $this->pass = '******';
         if ($this->user) {
             return 1;
         } else {
             p_identifi();
         }
     }
 }
Esempio n. 2
0
  function is_identified()
  {
    if (!$this->user)
      {
	$this->user = '******';
	$this->pass = '******';
	if ($this->user) // Cette partie correspond à auth()
	  {
	    return 1;
	  }
	else // Cette partie correspond à ident() (du moins à sa première phase)
	  {
			p_identifi();
	  }
    }
  }