Should really use a persistant DB connection
authorsimond <simond@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 17 Feb 2002 13:48:52 +0000 (13:48 +0000)
committersimond <simond@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 17 Feb 2002 13:48:52 +0000 (13:48 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2454 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/db_prefs.php

index 3d42fe1..1aab90b 100644 (file)
@@ -86,7 +86,7 @@ class dbPrefs {
         if (!empty($prefs_table)) {
             $this->table = $prefs_table;
         }
-        $dbh = DB::connect($prefs_dsn);
+        $dbh = DB::connect($prefs_dsn, true);
 
         if(DB::isError($dbh) || DB::isWarning($dbh)) {
             $this->error = DB::errorMessage($dbh);