Changeset 721
- Timestamp:
- Apr 21, 2020 9:56:58 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/DB.inc.php
r719 r721 172 172 // Connect to database. Always create a new link to the server. 173 173 // Connection errors are suppressed so we can do our own error management below. 174 if ($this->dbh = mysql_connect($this->getParam('db_server'), $this->getParam('db_user'), $this->getParam('db_pass'), true)) {174 if ($this->dbh = @mysql_connect($this->getParam('db_server'), $this->getParam('db_user'), $this->getParam('db_pass'), true)) { 175 175 // Select database 176 176 mysql_select_db($this->getParam('db_name'), $this->dbh);
Note: See TracChangeset
for help on using the changeset viewer.