Show
Ignore:
Timestamp:
02/26/2008 05:42:45 AM (9 months ago)
Author:
Geert
Message:
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/drivers/Database/Pgsql.php

    r2165 r2171  
    4141 
    4242                // Build the connection info 
    43                 $port = (isset($port)) ? 'port=\''.$port.'\'' : ''; 
    44                 $host = (isset($host)) ? 'host=\''.$host.'\' '.$port : ''; // if no host, connect with the socket 
     43                $port = isset($port) ? 'port=\''.$port.'\'' : ''; 
     44                $host = isset($host) ? 'host=\''.$host.'\' '.$port : ''; // if no host, connect with the socket 
    4545 
    4646                $connection_string = $host.' dbname=\''.$database.'\' user=\''.$user.'\' password=\''.$pass.'\'';