projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Should really use a persistant DB connection
[squirrelmail.git]
/
functions
/
db_prefs.php
diff --git
a/functions/db_prefs.php
b/functions/db_prefs.php
index 3d42fe169031472ebcb8ce1f4f572227c1b735f5..1aab90ba556227a008c7fc4ca054fbc2a8f889b9 100644
(file)
--- a/
functions/db_prefs.php
+++ b/
functions/db_prefs.php
@@
-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);