** -> *
[squirrelmail.git] / functions / db_prefs.php
index e23f320f8b681023b16f03ca0a7bf702ac854a85..5243649f766c5c8785f6e6a74ec301793b3a05e6 100644 (file)
@@ -1,32 +1,35 @@
 <?php
    /**
-    **  db_prefs.php
-    **
-    **  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:
-    **  ---------
-    **
-    **  The preferences table should have tree columns:
-    **     username   char  \  primary
-    **     prefkey    char  /  key
-    **     prefval    blob
-    **
-    **    CREATE TABLE userprefs (user CHAR(32) NOT NULL DEFAULT '', 
-    **                            prefkey CHAR(64) NOT NULL DEFAULT '', 
-    **                            prefval BLOB NOT NULL DEFAULT '', 
-    **                            primary key (user,prefkey));
-    **
-    **  Configuration of databasename, username and password is done
-    **  by changing $DSN below.
-    **
-    **  $Id$
-    **/
+    *   db_prefs.php
+    *
+    *   Copyright (c) 1999-2001 The Squirrelmail Development Team
+    *   Licensed under the GNU GPL. For full terms see the file COPYING.
+    *
+    *   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:
+    *   ---------
+    *
+    *   The preferences table should have tree columns:
+    *      username   char  \  primary
+    *      prefkey    char  /  key
+    *      prefval    blob
+    *
+    *     CREATE TABLE userprefs (user CHAR(32) NOT NULL DEFAULT '',
+    *                             prefkey CHAR(64) NOT NULL DEFAULT '',
+    *                             prefval BLOB NOT NULL DEFAULT '',
+    *                             primary key (user,prefkey));
+    *
+    *   Configuration of databasename, username and password is done
+    *   by changing $DSN below.
+    *
+    *   $Id$
+    */
 
    require_once('DB.php');