web/app/db.php
/**
	 * Disconnect and remove connection from open connections list
	 * @param string $tdbhname
	 */
Disconnect and remove connection from open connections list
@param string $tdbhname
Disconnect and remove connection from open connections list @param string $tdbhname
function disconnect($dbhname) {
		if ( $k = array_search($dbhname, $this->open_connections) )
			unset($this->open_connections[$k]);
		if ( $this->dbhs[$dbhname] instanceof mysqli )
			mysqli_close($this->dbhs[$dbhname]);
		unset($this->dbhs[$dbhname]);
	}
function disconnect ( $ dbhname ) { if ( $ k = array_search ( $ dbhname , $ this -> open_connections ) ) unset ( $ this -> open_connections [ $ k ] ) ; if ( $ this -> dbhs [ $ dbhname ] instanceof mysqli ) mysqli_close ( $ this -> dbhs [ $ dbhname ] ) ; unset ( $ this -> dbhs [ $ dbhname ] ) ; }
Disconnect and remove connection from open connections list
 @param string $tdbhname
Disconnect and remove connection from open connections list @param string $tdbhname