From 80a8f4d937896777df53005a560b49f84ccd557f Mon Sep 17 00:00:00 2001 From: WineHQ Date: Wed, 12 Jan 2005 16:24:45 +0000 Subject: [PATCH] Don't use mysql_pconnect() as we don't know when to close the database connection --- include/db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/db.php b/include/db.php index e87b0b8..bde5f5d 100644 --- a/include/db.php +++ b/include/db.php @@ -5,7 +5,7 @@ function query_appdb($sQuery,$sComment="") if(!$hAppdbLink) { - $hAppdbLink = mysql_pconnect(APPS_DBHOST, APPS_DBUSER, APPS_DBPASS); + $hAppdbLink = mysql_connect(APPS_DBHOST, APPS_DBUSER, APPS_DBPASS); mysql_select_db(APPS_DB); } $hResult = mysql_query($sQuery, $hAppdbLink);