Example #1
0
 /**
  * Check if the connection to the database is active.
  * @return boolean
  */
 static function isActive()
 {
     return DB::$globalConn->isActive();
 }
Example #2
0
	/**
	 * Check if the connection to the database is active.
	 * @return boolean
	 */
	static function isActive() {
		if(DB::$globalConn) return DB::$globalConn->isActive();
		else return false;
	}