X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=config%2Fconfig_default.php;h=c724db6dbd060a09102686cfb90cd468cdd0f03a;hp=e7d688783edddc28aeee5b4a13989eb72c69c67b;hb=a3439b271e1b5fa7e61362970dbbcc5bfc75e5b1;hpb=94c9adcb399ad50497e8ce158338dea846375dee diff --git a/config/config_default.php b/config/config_default.php index e7d68878..c724db6d 100644 --- a/config/config_default.php +++ b/config/config_default.php @@ -1,354 +1,442 @@ 'memberdir.netscape.com', + * 'name' => 'Netcenter Member Directory', + * 'base' => 'ou=member_directory,o=netcenter.com' + * ); + */ global $ldap_server; -// -// EXAMPLE: -// -// $ldap_server[0] = Array( -// "host" => "memberdir.netscape.com", -// "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 - // address book searching. - // true = javascript - // false = html - global $default_use_javascript_addr_book; - $default_use_javascript_addr_book = false; - - // these next two options set the defaults for the way that the users see - // their folder list. - // $default_unseen_notify specifies whether or not the users will see - // the number of unseen in each folder by default - // and alsy which folders to do this to. - // 1=none, 2=inbox, 3=all - // $default_unseen_type specifies the type of notification to give the - // users by default. - // 1=(4), 2=(4,25) - global $default_unseen_notify, $default_unseen_type; - $default_unseen_notify = 2; - $default_unseen_type = 1; + +/** + * 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'; + +/** + * Users may search their addressbook via either a plain HTML or Javascript + * enhanced user interface. This option allows you to set the default choice. + * Set this default choice as either: + * true = javascript + * false = html + */ +global $default_use_javascript_addr_book; +$default_use_javascript_addr_book = false; + +/** + * These next two options set the defaults for the way that the + * users see their folder list. + * $default_unseen_notify + * Specifies whether or not the users will see the number of + * unseen in each folder by default and also which folders to + * do this to. Valid values are: 1=none, 2=inbox, 3=all. + * $default_unseen_type + * Specifies the type of notification to give the users by + * default. Valid choice are: 1=(4), 2=(4,25). + */ +global $default_unseen_notify, $default_unseen_type; +$default_unseen_notify = 2; +$default_unseen_type = 1; - // If you are running on a machine that doesn't have the tm_gmtoff - // value in your time structure and if you are in a time zone that - // has a negative offset, you need to set this value to 1. - // This is typically people in the US that are running Solaris 7. - global $invert_time; - $invert_time = false; - - global $plugins; - // To install plugins, just add elements to this array that have - // the plugin directory name relative to the /plugins/ directory. - // 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 +/** + * If you are running on a machine that doesn't have the tm_gmtoff + * value in your time structure and if you are in a time zone that + * has a negative offset, you need to set this value to 1. This is + * typically people in the US that are running Solaris 7. + */ +global $invert_time; +$invert_time = false; + +global $plugins; +/** + * To install plugins, just add elements to this array that have + * the plugin directory name relative to the /plugins/ directory. + * For instance, for the 'sqclock' plugin, you'd put a line like + * the following. + * $plugins[0] = 'sqclock'; + * $plugins[1] = 'attachment_common'; + */ + +/** + * Make sure there are no characters after the PHP closing + * tag below (including newline characters and whitespace). + * Otherwise, that character will cause the headers to be + * sent and regular output to begin, which will majorly screw + * things up when we try to send more headers later. + */ +?>