Changeset 563 for trunk/lib/DB.inc.php
- Timestamp:
- Feb 28, 2016 9:18:02 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/DB.inc.php
r550 r563 147 147 } 148 148 149 if (!$this->getParam('db_server')) { 150 // If db_server not specified, assume localhost. 151 $this->setParam('db_server', 'localhost'); 152 } 153 149 154 // Connect to database. Always create a new link to the server. 150 // Connection errors are su rpressed so we can do our own error management below.155 // Connection errors are suppressed so we can do our own error management below. 151 156 if ($this->dbh = @mysql_connect($this->getParam('db_server'), $this->getParam('db_user'), $this->getParam('db_pass'), true)) { 152 157 // Select database
Note: See TracChangeset
for help on using the changeset viewer.