--- inc/class.DBI 2001/08/03 09:12:42 1.1 +++ inc/class.DBI 2001/09/19 12:23:56 1.2 @@ -38,7 +38,7 @@ ereg( "(p)?dbi:(.+):(.+)", $dbi_connect_str, $regs )){ $dbi[db_type] = $regs[2]; $dbi[db_name] = $regs[3]; - $dbi[db_host] = ( $regs[5] ? $regs[5] : 'localhost' ); + $dbi[db_host] = ( $regs[5] ? $regs[5] : '' ); $dbi[is_persistent] = ( $regs[1] ? 1 : 0 ); //echo "Connecting: [ ", //$dbi[db_type],"][", @@ -108,7 +108,7 @@ //Include the file only if we have not already read it. if( ! $GLOBALS['classDBD'.$db_type."_read"] ){ - include( 'class.DBD::'.$db_type ); + include( 'inc/class.DBD::'.$db_type ); } //Check to see if we could read it...