Rev 46 | Rev 51 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 46 | Rev 47 | ||
|---|---|---|---|
| Line 46... | Line 46... | ||
| 46 | */
|
46 | */
|
| 47 | protected $_rightQuote = '`'; |
47 | protected $_rightQuote = '`'; |
| 48 | 48 | ||
| 49 | public function __construct() |
49 | public function __construct() |
| 50 | {
|
50 | {
|
| - | 51 | $this->readConfig(); |
|
| - | 52 | ||
| 51 | $this->_dsn = "mysql:host={$this->_host}" |
53 | $this->_dsn = "mysql:host={$this->_host}" |
| 52 | . (!is_null($this->_dbname) ? ";dbname={$this->_dbname}" : '') |
54 | . (!is_null($this->_dbname) ? ";dbname={$this->_dbname}" : '') |
| 53 | . (!is_null($this->_charset) ? ";charset={$this->_charset}" : ''); |
55 | . (!is_null($this->_charset) ? ";charset={$this->_charset}" : ''); |
| 54 | 56 | ||
| 55 | if (!is_null($this->_charset)) |
57 | if (!is_null($this->_charset)) |