mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-08-30 18:51:03 +02:00
fix typo in db_connect()
This commit is contained in:
parent
6b3bce8abb
commit
6effd45248
3
db.php
3
db.php
@ -8,8 +8,7 @@ function db_connect($host, $user, $pass, $db) {
|
|||||||
$string = "dbname=$db user=$user password=$pass";
|
$string = "dbname=$db user=$user password=$pass";
|
||||||
|
|
||||||
if ($host) {
|
if ($host) {
|
||||||
|
$string .= "host=$host";
|
||||||
$stripng .= "host=$host";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return pg_connect($string);
|
return pg_connect($string);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user