X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=config%2Fconfig_default.php;h=43f4125e7774781e2af46f63c28d64372aadd26a;hp=309cc5c7a2bb6b2835ed1d141f6382bcc29085f7;hb=209e24bb063cb116e8564e226e0a2687276cb9d5;hpb=a254dad3d953ab470d89cb2a69cc4030238875f1 diff --git a/config/config_default.php b/config/config_default.php index 309cc5c7..43f4125e 100644 --- a/config/config_default.php +++ b/config/config_default.php @@ -1,103 +1,333 @@ 'memberdir.netscape.com', * 'name' => 'Netcenter Member Directory', * 'base' => 'ou=member_directory,o=netcenter.com' - * ); - */ -global $ldap_server; - -/** - * 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. + * ); + * + * NOTE: please see security note at the top of this file when + * entering a password. */ -#global $addrbook_dsn; -#$addrbook_dsn = 'mysql://user:pass@hostname/dbname'; +// Add your ldap server options here /** + * Javascript in Addressbook Control + * * 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 bool $default_use_javascript_addr_book */ -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). + * Shared filebased address book + * @global string $abook_global_file + * @since 1.5.1 and 1.4.4 */ -global $default_unseen_notify, $default_unseen_type; -$default_unseen_notify = 2; -$default_unseen_type = 1; - +$abook_global_file = ''; + /** - * 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. + * Writing into shared address book control + * @global bool $abook_global_file_writeable + * @since 1.5.1 and 1.4.4 */ -global $invert_time; -$invert_time = false; +$abook_global_file_writeable = false; /** - * By default SquirrelMail takes up the whole browser window, - * this allows you to embed it within sites using frames. Set - * this to the frame you want it to stay in. + * Listing of shared address book control + * @global bool $abook_global_file_listing + * @since 1.5.1 */ +$abook_global_file_listing = true; + +/** + * Controls file based address book entry size + * + * This setting controls space allocated to file based address book records. + * End users will be unable to save address book entry, if total entry size + * (quoted address book fields + 4 delimiters + linefeed) exceeds allowed + * address book length size. + * + * Same setting is applied to personal and global file based address books. + * + * It is strongly recommended to keep default setting value. Change it only + * if you really want to store address book entries that are bigger than two + * kilobytes (2048). + * @global integer $abook_file_line_length + * @since 1.5.2 + */ +$abook_file_line_length = 2048; + +/** + * MOTD + * + * This is a message that is displayed immediately after a user logs in. + * @global string $motd + */ +$motd = ""; -global $frame_top; -$frame_top = '_top'; -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'; + * $plugins[] = 'sqclock'; + * $plugins[] = 'attachment_common'; + */ +// Add list of enabled plugins here + + +/** + * To disable all plugins regardless of any that are installed + * above, turn on $disable_plugins. To disable them ONLY for + * one user, put that username into $disable_plugins_user. + * @global boolean $disable_plugins + * @global string $disable_plugins_user + * @since 1.5.2 */ +$disable_plugins = false; +$disable_plugins_user = ''; + +/*** Database ***/ /** - * 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. + * Read doc/database.txt in order to get more information + * about these settings. */ -?> +/** + * 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 set, the addressbooks are stored in files + * in the data dir. + * The DSN is in the format: mysql://user:pass@hostname/dbname + * The table is the name of the table to use within the + * specified database. + * + * NOTE: please see security note at the top of this file when + * entering a password. + */ +$addrbook_dsn = ''; +$addrbook_table = 'address'; +/** + * Database used to store user data + */ +$prefs_dsn = ''; +$prefs_table = 'userprefs'; +/** + * Preference key field + * @global string $prefs_key_field + */ +$prefs_key_field = 'prefkey'; +/** + * Size of preference key field + * @global integer $prefs_key_size + * @since 1.5.1 + */ +$prefs_key_size = 64; +/** + * Preference owner field + * @global string $prefs_user_field + */ +$prefs_user_field = 'user'; +/** + * Size of preference owner field + * @global integer $prefs_user_size + * @since 1.5.1 + */ +$prefs_user_size = 128; +/** + * Preference value field + * @global string $prefs_val_field + */ +$prefs_val_field = 'prefval'; +/** + * Size of preference key field + * @global integer $prefs_val_size + * @since 1.5.1 + */ +$prefs_val_size = 65536; + +/*** Global sql database options ***/ +/** + * DSN of global address book database + * @global string $addrbook_global_dsn + * @since 1.5.1 and 1.4.4 + */ +$addrbook_global_dsn = ''; +/** + * Table used for global database address book + * @global string $addrbook_global_table + * @since 1.5.1 and 1.4.4 + */ +$addrbook_global_table = 'global_abook'; +/** + * Control writing into global database address book + * @global boolean $addrbook_global_writeable + * @since 1.5.1 and 1.4.4 + */ +$addrbook_global_writeable = false; +/** + * Control listing of global database address book + * @global boolean $addrbook_global_listing + * @since 1.5.1 and 1.4.4 + */ +$addrbook_global_listing = false; + +/*** Language settings ***/ +/** + * Default language + * + * This is the default language. It is used as a last resort + * if SquirrelMail can't figure out which language to display. + * Language names usually consist of language code, undercore + * symbol and country code + * @global string $squirrelmail_default_language + */ +$squirrelmail_default_language = 'en_US'; + +/** + * Default Charset + * + * This option controls what character set is used when sending + * mail and when sending HTML to the browser. Option works only + * with US English (en_US) translation. Other translations use + * charsets that are set in translation settings. + * + * @global string $default_charset + */ +$default_charset = 'iso-8859-1'; + +/** + * Alternative Language Names Control + * + * This options allows displaying native language names in language + * selection box. + * @global bool $show_alternative_names + * @since 1.5.0 + */ +$show_alternative_names = false; + +/** + * Aggressive Decoding Control + * + * This option enables reading of Eastern multibyte encodings. + * Functions that provide this support are very cpu and memory intensive. + * Don't enable this option unless you really need it. + * @global bool $aggressive_decoding + * @since 1.5.1 + */ +$aggressive_decoding = false; + +/** + * Lossy Encoding Control + * + * This option allows charset conversions when output charset does not support + * all symbols used in original charset. Symbols unsupported by output charset + * will be replaced with question marks. + * @global bool $lossy_encoding + * @since 1.5.1 + */ +$lossy_encoding = false; + +/** + * Controls use of time zone libraries + * + * Possible values: + *