* 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:
* ---------
*
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;
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() {