Added option to do data and attachment directory hashing, up to four levels. Will...
[squirrelmail.git] / config / config_default.php
index 6c227599c09463b1e92344e0be8bcbd94ff8c216..fe4f88c143baeee67047e4bc930c1e03520be38e 100644 (file)
@@ -16,7 +16,7 @@
 
     // don't change
     global $config_version;
-    $config_version = "x62";
+    $config_version = "x63";
 
 //  Organization's logo picture (blank if none)
     global $org_logo;
 //  This is the title that goes at the top of the browser window
     global $org_title;
     $org_title = "SquirrelMail $version";
+    
+//  Default language
+//  This is the default language.  It is used as a last resort if SquirrelMail
+//  can't figure out which language to display.
+//  Use the two-letter code.
+    global $squirrelmail_default_language;
+    $squirrelmail_default_language = "en";
 
 //  The server that your imap server is on
     global $imapServerAddress, $imapPort;
 //  cyrus
 //  exchange
 //  uw
+//  other
     global $imap_server_type;
     $imap_server_type = "cyrus";
 
+// Rather than going to the signout.php page (which only allows you
+// to sign back in), setting signout_page allows you to sign
+// the user out and then redirect to whatever page you want.
+// For instance, the following would return the user to your
+// home page:    $signout_page = "/";
+// Set to the empty string to continue to use the default signout page.
+    global $signout_page;
+    $signout_page = "";
+
 //  Many servers store mail in your home directory.  With this, they
 //  store them in a subdirectory: mail/ or Mail/, etc.  If your
 //  server does this, please set this to what the default mail folder
 //         - This is the path to where Sent messages will be stored.
 
     global $default_move_to_trash, $default_move_to_sent, $trash_folder,
-        $auto_expunge, $sent_folder;
+        $auto_expunge, $sent_folder, $draft_folder, $default_save_as_draft;
     $default_move_to_trash = true;
     $default_move_to_sent  = true;
+    $default_save_as_draft = true;
     $trash_folder = "INBOX.Trash";
     $auto_expunge = true;
     $sent_folder = "INBOX.Sent";
+    $draft_folder = "INBOX.Drafts";
 
 //  Special Folders are folders that can't be manipulated like normal
 //  user created folders can. A couple of examples would be
     $special_folders[3] = "INBOX.Drafts";
     $special_folders[4] = "INBOX.Templates";
 
+//  Should I create the Sent and Trash folders automatically for a new
+//  user that doesn't already have them created?
+    global $auto_create_special;
+    $auto_create_special = true;
+
 //  Whether or not to list the special folders first  (true/false)
     global $list_special_folders_first;
     $list_special_folders_first = true;
     global $attachment_dir;
     $attachment_dir = $data_dir;
 
+// Hash level used for data directory.
+    global $dir_hash_level;
+    $dir_hash_level = 0;
+
 //  This is the default size of the folder list.  Default is 150,
 //  but you can set it to whatever you wish.
    global $default_left_size;
 
     $theme[15]["PATH"] = "../themes/bluesnews_theme.php";
     $theme[15]["NAME"] = "BluesNews";
+    
+    $theme[16]["PATH"] = "../themes/deepocean2_theme.php";
+    $theme[16]["NAME"] = "Deep Ocean 2";
+
+    $theme[17]["PATH"] = "../themes/blue_gray_theme.php";
+    $theme[17]["NAME"] = "Blue Gray";
+
+    $theme[18]["PATH"] = "../themes/dompie_theme.php";
+    $theme[18]["NAME"] = "Dompie";
+
+    $theme[19]["PATH"] = "../themes/methodical_theme.php";
+    $theme[19]["NAME"] = "Methodical";
 
 //  LDAP server(s)
 //
@@ -276,6 +316,15 @@ global $ldap_server;
 //                     "name" => "Netcenter Member Directory",
 //                     "base" => "ou=member_directory,o=netcenter.com");
 
+//  Database-driven private addressbooks
+//
+//    DSN (Data Source Name) for a database where the private
+//    addressbooks are stored.  See doc/db-backend.txt for more info.
+//    If it is not defined, the addressbooks are stored in files
+//    in the data dir.
+//
+//      global $addrbook_dsn;
+//     $addrbook_dsn = 'mysql://user:pass@hostname/dbname';
 
 
  // you have an option to chose between javascript or html version of
@@ -311,5 +360,7 @@ global $ldap_server;
  // For instance, for the "sqclock" plugin, you'd put a line like
  // the following:
  //   $plugins[0] = "sqclock";
+ //   $plugins[1] = "attachment_common";
 
-?>
+// Do not add the closing PHP tag here just because we want to avoid
+// the potential for parsing errors if there is a newline added