Changeset 417


Ignore:
Timestamp:
Jul 3, 2013 1:04:30 PM (11 years ago)
Author:
anonymous
Message:

Added reconnect method to DB, and testing current connection status using mysql_ping 2.

File:
1 edited

Legend:

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

    r416 r417  
    301301        }
    302302       
    303         sleep(30);
    304        
    305303        // Ensure we have an active connection.
    306304        if (!mysql_ping($this->dbh)) {
Note: See TracChangeset for help on using the changeset viewer.