Changeset 6962 for OpenPNE/branches/work/ogawa/renew_OpenPNE_Auth/lib/include/Auth/Container/DBLite.php
- Timestamp:
- May 5, 2008, 4:29:00 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/branches/work/ogawa/renew_OpenPNE_Auth/lib/include/Auth/Container/DBLite.php
r4883 r6962 19 19 * @copyright 2001-2006 The PHP Group 20 20 * @license http://www.php.net/license/3_01.txt PHP License 3.01 21 * @version CVS: $Id: DBLite.php,v 1. 18 2007/06/12 03:11:26aashley Exp $21 * @version CVS: $Id: DBLite.php,v 1.20 2008/04/04 07:57:02 aashley Exp $ 22 22 * @link http://pear.php.net/package/Auth 23 23 * @since File available since Release 1.3.0 … … 46 46 * @copyright 2001-2006 The PHP Group 47 47 * @license http://www.php.net/license/3_01.txt PHP License 3.01 48 * @version Release: 1. 5.4 File: $Revision: 1.18$48 * @version Release: 1.6.1 File: $Revision: 1.20 $ 49 49 * @link http://pear.php.net/package/Auth 50 50 * @since Class available since Release 1.3.0 … … 156 156 } 157 157 if ($this->options['auto_quote'] && $this->db->dsn['phptype'] != 'sqlite') { 158 $this->options['final_table'] = $this->db->quoteIdentifier($this->options['table']); 158 if (strpos('.', $this->options['table']) === false) { 159 $this->options['final_table'] = $this->db->quoteIdentifier($this->options['table']); 160 } else { 161 $t = explode('.', $this->options['table']); 162 for ($i = 0, $count = count($t); $i < $count; $i++) 163 $t[$i] = $this->db->quoteIdentifier($t[$i]); 164 $this->options['final_table'] = implode('.', $t); 165 } 159 166 $this->options['final_usernamecol'] = $this->db->quoteIdentifier($this->options['usernamecol']); 160 167 $this->options['final_passwordcol'] = $this->db->quoteIdentifier($this->options['passwordcol']);
Note: See TracChangeset
for help on using the changeset viewer.