Port from master
This commit is contained in:
@@ -49,7 +49,7 @@ function serendipity_db_in_sql($col, &$search_ids, $type = ' OR ') {
|
||||
function serendipity_db_connect() {
|
||||
global $serendipity;
|
||||
|
||||
$host = port = '';
|
||||
$host = $port = '';
|
||||
if (strlen($serendipity['dbHost'])) {
|
||||
if (false !== strstr($serendipity['dbHost'], ':')) {
|
||||
$tmp = explode(':', $serendipity['dbHost']);
|
||||
|
||||
@@ -53,7 +53,7 @@ function serendipity_db_connect() {
|
||||
$function = 'pg_connect';
|
||||
}
|
||||
|
||||
$host = port = '';
|
||||
$host = $port = '';
|
||||
if (strlen($serendipity['dbHost'])) {
|
||||
if (false !== strstr($serendipity['dbHost'], ':')) {
|
||||
$tmp = explode(':', $serendipity['dbHost']);
|
||||
|
||||
Reference in New Issue
Block a user