Changeset 719 for trunk/lib/DB.inc.php


Ignore:
Timestamp:
Mar 9, 2020 3:13:45 AM (4 years ago)
Author:
anonymous
Message:

Update Prefs to use PDO

File:
1 edited

Legend:

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

    r712 r719  
    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.