Switched to new domain

FOSS-Q is the new domain for this search.
This commit is contained in:
FbIN Support 2025-12-20 23:08:36 +05:30
commit aaa853f5a0

View file

@ -9,7 +9,7 @@
if(!empty($bang)){
// !youtube
$conn = pg_connect("host=localhost dbname=4get user=postgres password=postgres");
$conn = pg_connect("host=localhost dbname=fossq user=postgres password=postgres");
pg_prepare($conn, "bang_get", "SELECT bang,name FROM bangs WHERE bang LIKE $1 ORDER BY bang ASC LIMIT 8");
$q = pg_execute($conn, "bang_get", ["$bang%"]);
@ -77,7 +77,7 @@
if(!empty($bang)){
// check if the bang exists
$conn = pg_connect("host=localhost dbname=4get user=postgres password=postgres");
$conn = pg_connect("host=localhost dbname=fossq user=postgres password=postgres");
pg_prepare($conn, "bang_get_single", "SELECT bang,name FROM bangs WHERE bang = $1 LIMIT 1");
$q = pg_execute($conn, "bang_get_single", [$bang]);