Changeset 546732
- Timestamp:
- 05/20/2012 10:17:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postgresql-for-wordpress/trunk/pg4wp/driver_pgsql.php
r546724 r546732 62 62 { 63 63 $GLOBALS['pg4wp_connstr'] = ''; 64 list($host, $port)= explode(':', $dbserver);65 if( !empty( $host ))66 $GLOBALS['pg4wp_connstr'] .= ' host='.$host ;67 if( !empty( $ port))68 $GLOBALS['pg4wp_connstr'] .= ' port='.$ port;64 $hostport = explode(':', $dbserver); 65 if( !empty( $hostport[0])) 66 $GLOBALS['pg4wp_connstr'] .= ' host='.$hostport[0]; 67 if( !empty( $hostport[1])) 68 $GLOBALS['pg4wp_connstr'] .= ' port='.$hostport[1]; 69 69 if( !empty( $dbuser)) 70 70 $GLOBALS['pg4wp_connstr'] .= ' user='.$dbuser;
Note: See TracChangeset
for help on using the changeset viewer.