projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
second try to fix sendMail. Return true after finalizeStream.
[squirrelmail.git]
/
functions
/
db_prefs.php
diff --git
a/functions/db_prefs.php
b/functions/db_prefs.php
index fb81c3d31d3a6305832ca73809f04b408c6228e5..a8a5ba3a77a26e537600c0004a361be45e2fdfa8 100644
(file)
--- a/
functions/db_prefs.php
+++ b/
functions/db_prefs.php
@@
-9,10
+9,6
@@
* This contains functions for manipulating user preferences
* stored in a database, accessed though the Pear DB layer.
*
* This contains functions for manipulating user preferences
* stored in a database, accessed though the Pear DB layer.
*
- * To use this instead of the regular prefs.php, create a
- * database as described below, and replace prefs.php
- * with this file.
- *
* Database:
* ---------
*
* Database:
* ---------
*
@@
-37,7
+33,7
@@
define('SMDB_MYSQL', 1);
define('SMDB_PGSQL', 2);
require_once('DB.php');
define('SMDB_PGSQL', 2);
require_once('DB.php');
-require_once(
'../
config/config.php');
+require_once(
SM_PATH . '
config/config.php');
global $prefs_are_cached, $prefs_cache;
global $prefs_are_cached, $prefs_cache;
@@
-81,7
+77,7
@@
class dbPrefs {
var $error = NULL;
var $db_type = SMDB_UNKNOWN;
var $error = NULL;
var $db_type = SMDB_UNKNOWN;
- var $default = Array('
chosen_theme' => '../themes/default_theme.php'
,
+ var $default = Array('
theme_default' => 0
,
'show_html_default' => '0');
function open() {
'show_html_default' => '0');
function open() {