Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Piatok, 23. október 2026

Rozdiely pre phpPlatonLib/Auth_AuthDB/AuthDB.php medzi verziami 1.17 a 1.18

verzia 1.17, 2008/05/01 14:15:57 verzia 1.18, 2009/10/14 11:45:40
Riadok 17 
Riadok 17 
  * http://platon.sk/projects/phpPlatonLib/   * http://platon.sk/projects/phpPlatonLib/
  */   */
   
 /* $Platon: phpPlatonLib/Auth_AuthDB/AuthDB.php,v 1.16 2007-09-22 06:13:06 nepto Exp $ */  /* $Platon: phpPlatonLib/Auth_AuthDB/AuthDB.php,v 1.17 2008-05-01 14:15:57 nepto Exp $ */
   
 /*  /*
  * History:   * History:
Riadok 33 
Riadok 33 
  *              authentification interface   *              authentification interface
  * 2007-09-22 - configurable cookie name, path, domain   * 2007-09-22 - configurable cookie name, path, domain
  *            - configurable username/password CGI form variable name   *            - configurable username/password CGI form variable name
    * 2009-10-14 - disable domain in cookie if domain is "localhost"
  */   */
   
 require_once 'DB.php';  require_once 'DB.php';
Riadok 81  class AuthDB
Riadok 82  class AuthDB
                 if (! isset($this->_options['cookie']['name'])) {                  if (! isset($this->_options['cookie']['name'])) {
                         $this->_options['cookie']['name'] = AUTH_DB_COOKIE_NAME;                          $this->_options['cookie']['name'] = AUTH_DB_COOKIE_NAME;
                 }                  }
                   if (! strcasecmp(trim($this->_options['cookie']['domain']), 'localhost')) {
                           $this->_options['cookie']['domain'] = null;
                   }
         } /* }}} */          } /* }}} */
   
         /**          /**

Legend:
Odstranené z verzie1.17  
zmenené riadky
  Pridané vo verzii1.18

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok