Esempio n. 1
0
 function reconnectDB()
 {
     if (ONLINEMODE) {
         self::$DBConnection = new DBConnection(mysqlServerIP2, dbname, dbuser, dbpassword, wpip, wpdbname, wpdbuser, wpdbpassword);
     } else {
         self::$DBConnection = new DBConnection(localmysqlServerIP2, localdbname, localdbuser, localdbpassword, wpip, wpdbname, wpdbuser, wpdbpassword);
     }
 }
Esempio n. 2
0
 function reconnectDB()
 {
     self::$DBConnection = new DBConnection(mysqlServerIP2, dbname, dbuser, dbpassword);
 }