Changeset 721


Ignore:
Timestamp:
Apr 21, 2020 9:56:58 PM (4 years ago)
Author:
anonymous
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/DB.inc.php

    r719 r721  
    172172        // Connect to database. Always create a new link to the server.
    173173        // 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)) {
    175175            // Select database
    176176            mysql_select_db($this->getParam('db_name'), $this->dbh);
Note: See TracChangeset for help on using the changeset viewer.