59177427 |
1 | <?php |
716fa276 |
2 | |
a3439b27 |
3 | /** |
2d896bbf |
4 | * Default SquirrelMail configuration file |
5 | * |
a3439b27 |
6 | * BEFORE EDITING THIS FILE! |
7 | * |
8 | * Don't edit this file directly. Copy it to config.php before you |
9 | * edit it. However, it is best to use the configuration script |
10 | * conf.pl if at all possible. That is the easiest and cleanest way |
11 | * to configure. |
2d896bbf |
12 | * |
13 | * @package squirrelmail |
14 | * @subpackage config |
a3439b27 |
15 | */ |
16 | |
17 | /* Do not change this value. */ |
f6cfbdac |
18 | global $version; |
a3439b27 |
19 | global $config_version; |
76911253 |
20 | $config_version = '1.4.0'; |
a3439b27 |
21 | |
f6cfbdac |
22 | /*** Organization preferences ***/ |
23 | /** |
24 | * Organization's name |
2d896bbf |
25 | * @global string $org_name |
f6cfbdac |
26 | */ |
27 | $org_name = "SquirrelMail"; |
b6e0c3b6 |
28 | |
f6cfbdac |
29 | /** |
30 | * Organization's logo picture (blank if none) |
2d896bbf |
31 | * @global string $org_logo |
f6cfbdac |
32 | */ |
33 | $org_logo = SM_PATH . 'images/sm_logo.png'; |
b6e0c3b6 |
34 | |
f6cfbdac |
35 | /** |
36 | * The width of the logo (0 for default) |
2d896bbf |
37 | * @global string $org_logo_width |
f6cfbdac |
38 | */ |
39 | $org_logo_width = '308'; |
b6e0c3b6 |
40 | |
f6cfbdac |
41 | /** |
42 | * The height of the logo (0 for default) |
2d896bbf |
43 | * @global string $org_logo_height |
f6cfbdac |
44 | */ |
45 | $org_logo_height = '111'; |
a3439b27 |
46 | |
47 | /** |
48 | * Webmail Title |
2d896bbf |
49 | * |
50 | * This is the web page title that appears at the top of the browser window. |
51 | * @global string $org_title |
a3439b27 |
52 | */ |
8b5c49cd |
53 | $org_title = "SquirrelMail"; |
f6cfbdac |
54 | |
a3439b27 |
55 | /** |
2d896bbf |
56 | * Signout page |
57 | * |
f6cfbdac |
58 | * Rather than going to the signout.php page (which only allows you |
59 | * to sign back in), setting signout_page allows you to sign the user |
60 | * out and then redirect to whatever page you want. For instance, |
61 | * the following would return the user to your home page: |
62 | * $signout_page = '/'; |
63 | * Set to the empty string to continue to use the default signout page. |
2d896bbf |
64 | * @global string $signout_page |
a3439b27 |
65 | */ |
f6cfbdac |
66 | $signout_page = ''; |
a3439b27 |
67 | |
f6cfbdac |
68 | /** |
2d896bbf |
69 | * Top frame |
70 | * |
f6cfbdac |
71 | * By default SquirrelMail takes up the whole browser window, |
72 | * this allows you to embed it within sites using frames. Set |
73 | * this to the frame you want it to stay in. |
2d896bbf |
74 | * @global string $frame_top |
f6cfbdac |
75 | */ |
76 | $frame_top = '_top'; |
a3439b27 |
77 | |
f6cfbdac |
78 | /** |
2d896bbf |
79 | * Provider name |
80 | * |
81 | * Here you can set name of the link displayed on the right side of main page. |
f6cfbdac |
82 | * |
91e0dccc |
83 | * Link will be displayed only if you have $hide_sm_attributions |
f6cfbdac |
84 | * option set to true. |
2d896bbf |
85 | * @global string $provider_name |
f6cfbdac |
86 | */ |
87 | $provider_name = 'SquirrelMail'; |
f6cfbdac |
88 | |
2d896bbf |
89 | /** |
90 | * Provider URI |
91 | * |
92 | * Here you can set URL of the link displayed on the right side of main page. |
8b5c49cd |
93 | * When empty, this refers to the SquirrelMail About page. |
91e0dccc |
94 | * Link will be displayed only if you have $hide_sm_attributions |
2d896bbf |
95 | * option set to true. |
96 | * @global string $provider_uri |
97 | */ |
8b5c49cd |
98 | $provider_uri = ''; |
f6cfbdac |
99 | |
100 | /*** Server Settings ***/ |
a3439b27 |
101 | /** |
2d896bbf |
102 | * Default Domain |
103 | * |
a3439b27 |
104 | * The domain part of local email addresses. |
105 | * This is for all messages sent out from this server. |
106 | * Reply address is generated by $username@$domain |
5d28b77e |
107 | * Example: In bob@example.com, example.com is the domain. |
2d896bbf |
108 | * @global string $domain |
a3439b27 |
109 | */ |
884eba1e |
110 | $domain = 'example.com'; |
a3439b27 |
111 | |
f6cfbdac |
112 | /** |
2d896bbf |
113 | * Time offset inversion |
114 | * |
f6cfbdac |
115 | * If you are running on a machine that doesn't have the tm_gmtoff |
116 | * value in your time structure and if you are in a time zone that |
117 | * has a negative offset, you need to set this value to 1. This is |
118 | * typically people in the US that are running Solaris 7. |
2d896bbf |
119 | * @global bool $invert_time |
f6cfbdac |
120 | */ |
121 | $invert_time = false; |
a3439b27 |
122 | |
123 | /** |
2d896bbf |
124 | * Default send transport |
125 | * |
f6cfbdac |
126 | * What should be used when sending email. |
127 | * If it is set to false, SquirrelMail will use SMTP server settings. |
91e0dccc |
128 | * If it is set to true, SquirrelMail will use program defined in |
f6cfbdac |
129 | * $sendmail_path |
2d896bbf |
130 | * @global bool $useSendmail |
a3439b27 |
131 | */ |
f6cfbdac |
132 | $useSendmail = false; |
a3439b27 |
133 | |
f6cfbdac |
134 | /** |
2d896bbf |
135 | * Your SMTP server (usually the same as the IMAP server). |
136 | * @global string $smtpServerAddress |
f6cfbdac |
137 | */ |
138 | $smtpServerAddress = 'localhost'; |
2d896bbf |
139 | /** |
140 | * Your SMTP port number (usually 25). |
141 | * @global integer $smtpPort |
142 | */ |
f6cfbdac |
143 | $smtpPort = 25; |
a3439b27 |
144 | |
cba7675e |
145 | /** |
432db2fc |
146 | * SquirrelMail header encryption |
2d896bbf |
147 | * |
432db2fc |
148 | * Encryption key allows to hide SquirrelMail Received: headers |
149 | * in outbound messages. Interface uses encryption key to encode |
150 | * username, remote address and proxied address, then stores encoded |
151 | * information in X-Squirrel-* headers. |
cba7675e |
152 | * |
432db2fc |
153 | * Warning: used encryption function is not bulletproof. When used |
154 | * with static encryption keys, it provides only minimal security |
155 | * measures and information can be decoded quickly. |
156 | * |
157 | * Encoded information can be decoded with decrypt_headers.php script |
158 | * from SquirrelMail contrib/ directory. |
159 | * @global string $encode_header_key |
94511d23 |
160 | * @since 1.5.1 and 1.4.5 |
cba7675e |
161 | */ |
432db2fc |
162 | $encode_header_key = ''; |
cba7675e |
163 | |
a3439b27 |
164 | /** |
2d896bbf |
165 | * Path to Sendmail |
166 | * |
f6cfbdac |
167 | * Program that should be used when sending email. SquirrelMail expects that |
91e0dccc |
168 | * this program will follow options used by original sendmail |
f6cfbdac |
169 | * (http://www.sendmail.org). |
2d896bbf |
170 | * @global string $sendmail_path |
a3439b27 |
171 | */ |
f6cfbdac |
172 | $sendmail_path = '/usr/sbin/sendmail'; |
91e0dccc |
173 | |
f6cfbdac |
174 | /** |
2d896bbf |
175 | * IMAP server address |
176 | * |
177 | * The dns name (or IP address) for your imap server. |
178 | * @global string $imapServerAddress |
f6cfbdac |
179 | */ |
180 | $imapServerAddress = 'localhost'; |
2d896bbf |
181 | |
182 | /** |
183 | * IMAP server port |
184 | * |
185 | * Port used by your imap server. (Usually 143) |
186 | * @global integer $imapPort |
187 | */ |
f6cfbdac |
188 | $imapPort = 143; |
a3439b27 |
189 | |
190 | /** |
2d896bbf |
191 | * IMAP server type |
192 | * |
a3439b27 |
193 | * The type of IMAP server you are running. |
194 | * Valid type are the following (case is important): |
e498ebbd |
195 | * bincimap |
a3439b27 |
196 | * courier |
197 | * cyrus |
e498ebbd |
198 | * dovecot |
a3439b27 |
199 | * exchange |
b39825f0 |
200 | * hmailserver |
e498ebbd |
201 | * macosx |
f6cfbdac |
202 | * mercury32 |
e498ebbd |
203 | * uw |
a3439b27 |
204 | * other |
f6cfbdac |
205 | * |
206 | * Please note that this changes only some of server settings. |
207 | * |
208 | * In order to set everything correctly, you need to adjust several |
598294a7 |
209 | * SquirrelMail options. These options are listed in doc/presets.txt |
2d896bbf |
210 | * @global string $imap_server_type |
a3439b27 |
211 | */ |
884eba1e |
212 | $imap_server_type = 'other'; |
a3439b27 |
213 | |
214 | /** |
2d896bbf |
215 | * Advanced IMAP authentication options control |
216 | * |
f6cfbdac |
217 | * CRAM-MD5, DIGEST-MD5, Plain, and TLS |
218 | * Set reasonable defaults - you'd never know this was there unless you ask for it |
2d896bbf |
219 | * @global bool $use_imap_tls |
a3439b27 |
220 | */ |
f6cfbdac |
221 | $use_imap_tls = false; |
2d896bbf |
222 | |
223 | /** |
224 | * Advanced SMTP authentication options control |
225 | * |
226 | * CRAM-MD5, DIGEST-MD5, Plain, and TLS |
227 | * Set reasonable defaults - you'd never know this was there unless you ask for it |
228 | * @global bool $use_smtp_tls |
229 | */ |
f6cfbdac |
230 | $use_smtp_tls = false; |
a3439b27 |
231 | |
f6cfbdac |
232 | /** |
2d896bbf |
233 | * SMTP authentication mechanism |
234 | * |
235 | * auth_mech can be either 'none', 'login','plain', 'cram-md5', or 'digest-md5' |
236 | * @global string $smtp_auth_mech |
f6cfbdac |
237 | */ |
238 | $smtp_auth_mech = 'none'; |
2d896bbf |
239 | |
240 | /** |
241 | * IMAP authentication mechanism |
242 | * |
243 | * auth_mech can be either 'login','plain', 'cram-md5', or 'digest-md5' |
244 | * @global string $imap_auth_mech |
245 | */ |
f6cfbdac |
246 | $imap_auth_mech = 'login'; |
247 | |
248 | /** |
2d896bbf |
249 | * IMAP folder delimiter |
250 | * |
f6cfbdac |
251 | * This is the delimiter that your IMAP server uses to distinguish between |
252 | * folders. For example, Cyrus uses '.' as the delimiter and a complete |
253 | * folder would look like 'INBOX.Friends.Bob', while UW uses '/' and would |
254 | * look like 'INBOX/Friends/Bob'. Normally this should be left at 'detect' |
255 | * but if you are sure you know what delimiter your server uses, you can |
256 | * specify it here. |
257 | * |
258 | * To have it autodetect the delimiter, set it to 'detect'. |
2d896bbf |
259 | * @global string $optional_delimiter |
f6cfbdac |
260 | */ |
261 | $optional_delimiter = 'detect'; |
262 | |
263 | /** |
2d896bbf |
264 | * POP before SMTP setting |
265 | * |
f6cfbdac |
266 | * Do you wish to use POP3 before SMTP? Your server must |
267 | * support this in order for SquirrelMail to work with it. |
2d896bbf |
268 | * @global bool $pop_before_smtp |
f6cfbdac |
269 | */ |
270 | $pop_before_smtp = false; |
271 | |
272 | |
273 | /*** Folder Settings ***/ |
a3439b27 |
274 | /** |
2d896bbf |
275 | * Default IMAP folder prefix |
276 | * |
a3439b27 |
277 | * Many servers store mail in your home directory. With this, they |
278 | * store them in a subdirectory: mail/ or Mail/, etc. If your server |
279 | * does this, please set this to what the default mail folder should |
280 | * be. This is still a user preference, so they can change it if it |
281 | * is different for each user. |
282 | * |
283 | * Example: |
284 | * $default_folder_prefix = 'mail/'; |
285 | * -- or -- |
286 | * $default_folder_prefix = 'Mail/folders/'; |
287 | * |
288 | * If you do not use this, set it to the empty string. |
2d896bbf |
289 | * @global string $default_folder_prefix |
a3439b27 |
290 | */ |
a3439b27 |
291 | $default_folder_prefix = ''; |
292 | |
293 | /** |
2d896bbf |
294 | * User level prefix control |
295 | * |
a3439b27 |
296 | * If you do not wish to give them the option to change this, set it |
297 | * to false. Otherwise, if it is true, they can change the folder prefix |
298 | * to be anything. |
2d896bbf |
299 | * @global bool $show_prefix_option |
a3439b27 |
300 | */ |
a3439b27 |
301 | $show_prefix_option = false; |
302 | |
303 | /** |
304 | * The following are related to deleting messages. |
f6cfbdac |
305 | * $default_move_to_trash |
306 | * If this is set to 'true', when 'delete' is pressed, it |
a3439b27 |
307 | * will attempt to move the selected messages to the folder |
308 | * named $trash_folder. If it's set to 'false', we won't even |
309 | * attempt to move the messages, just delete them. |
f6cfbdac |
310 | * $default_move_to_sent |
311 | * If this is set to 'true', sent messages will be stored in |
312 | * $sent_folder by default. |
313 | * $default_save_as_draft |
314 | * If this is set to 'true', users are able to use $draft_folder |
315 | * to store their unfinished messages. |
a3439b27 |
316 | * $trash_folder |
317 | * This is the path to the default trash folder. For Cyrus |
318 | * IMAP, it would be 'INBOX.Trash', but for UW it would be |
319 | * 'Trash'. We need the full path name here. |
f6cfbdac |
320 | * $draft_folder |
321 | * This is the patch to where Draft messages will be stored. |
a3439b27 |
322 | * $auto_expunge |
323 | * If this is true, when a message is moved or copied, the |
324 | * source mailbox will get expunged, removing all messages |
325 | * marked 'Deleted'. |
326 | * $sent_folder |
327 | * This is the path to where Sent messages will be stored. |
4e85a37f |
328 | * $delete_folder |
329 | * If this is true, when a folder is deleted then it will |
330 | * not get moved into the Trash folder. |
2d896bbf |
331 | * @global bool $default_move_to_trash |
332 | * @global bool $default_move_to_sent |
333 | * @global bool $default_save_as_draft |
334 | * @global string $trash_folder |
335 | * @global string $sent_folder |
336 | * @global string $draft_folder |
337 | * @global bool $auto_expunge |
338 | * @global bool $delete_folder |
a3439b27 |
339 | */ |
a3439b27 |
340 | $default_move_to_trash = true; |
341 | $default_move_to_sent = true; |
342 | $default_save_as_draft = true; |
343 | $trash_folder = 'INBOX.Trash'; |
344 | $sent_folder = 'INBOX.Sent'; |
345 | $draft_folder = 'INBOX.Drafts'; |
346 | $auto_expunge = true; |
4e85a37f |
347 | $delete_folder = false; |
a3439b27 |
348 | |
f6cfbdac |
349 | /** |
2d896bbf |
350 | * Special Folder Color Control |
351 | * |
f6cfbdac |
352 | * Whether or not to use a special color for special folders. If not, |
353 | * special folders will be the same color as the other folders. |
2d896bbf |
354 | * @global bool $use_special_folder_color |
f6cfbdac |
355 | */ |
356 | $use_special_folder_color = true; |
357 | |
a3439b27 |
358 | /** |
2d896bbf |
359 | * Create Special Folders Control |
360 | * |
a3439b27 |
361 | * Should I create the Sent and Trash folders automatically for |
362 | * a new user that doesn't already have them created? |
2d896bbf |
363 | * @global bool $auto_create_special |
a3439b27 |
364 | */ |
a3439b27 |
365 | $auto_create_special = true; |
366 | |
2d896bbf |
367 | /** |
368 | * List Special Folders First Control |
369 | * |
370 | * Whether or not to list the special folders first (true/false). |
91e0dccc |
371 | * @global bool $list_special_folders_first |
2d896bbf |
372 | */ |
a3439b27 |
373 | $list_special_folders_first = true; |
374 | |
375 | /** |
2d896bbf |
376 | * Subfolder Layout Control |
377 | * |
a3439b27 |
378 | * Are all your folders subfolders of INBOX (i.e. cyrus IMAP server). |
379 | * If you are unsure, set it to false. |
2d896bbf |
380 | * @global bool $default_sub_of_inbox |
a3439b27 |
381 | */ |
a3439b27 |
382 | $default_sub_of_inbox = true; |
383 | |
384 | /** |
2d896bbf |
385 | * Subfolder Format Control |
386 | * |
a3439b27 |
387 | * Some IMAP daemons (UW) handle folders weird. They only allow a |
388 | * folder to contain either messages or other folders, not both at |
389 | * the same time. This option controls whether or not to display an |
390 | * option during folder creation. The option toggles which type of |
391 | * folder it should be. |
392 | * |
91e0dccc |
393 | * If this option confuses you, just set it to 'true'. You can not hurt |
a3439b27 |
394 | * anything if it's true, but some servers will respond weird if it's |
395 | * false. (Cyrus works fine whether it's true OR false). |
2d896bbf |
396 | * @global bool $show_contain_subfolders_option |
a3439b27 |
397 | */ |
a3439b27 |
398 | $show_contain_subfolders_option = false; |
399 | |
400 | /** |
f6cfbdac |
401 | * These next two options set the defaults for the way that the |
402 | * users see their folder list. |
403 | * $default_unseen_notify |
91e0dccc |
404 | * Specifies whether or not the users will see the number of |
f6cfbdac |
405 | * unseen in each folder by default and also which folders to |
406 | * do this to. Valid values are: 1=none, 2=inbox, 3=all. |
407 | * $default_unseen_type |
408 | * Specifies the type of notification to give the users by |
409 | * default. Valid choice are: 1=(4), 2=(4,25). |
2d896bbf |
410 | * @global integer $default_unseen_notify |
411 | * @global integer $default_unseen_type |
a3439b27 |
412 | */ |
f6cfbdac |
413 | $default_unseen_notify = 2; |
414 | $default_unseen_type = 1; |
a3439b27 |
415 | |
f6cfbdac |
416 | /** |
2d896bbf |
417 | * NoSelect Fix Control |
418 | * |
f6cfbdac |
419 | * This enables the no select fix for Cyrus when subfolders |
420 | * exist but parent folders do not |
2d896bbf |
421 | * @global bool $noselect_fix_enable |
f6cfbdac |
422 | */ |
423 | $noselect_fix_enable = false; |
424 | |
425 | /*** General options ***/ |
a3439b27 |
426 | /** |
427 | * Path to the data/ directory |
2d896bbf |
428 | * |
368ab966 |
429 | * You need to create this directory yourself (see INSTALL). |
430 | * |
a3439b27 |
431 | * It is a possible security hole to have a writable directory |
432 | * under the web server's root directory (ex: /home/httpd/html). |
368ab966 |
433 | * The path name can be absolute or relative (to the config directory). |
434 | * Here are two examples: |
a3439b27 |
435 | * |
436 | * Absolute: |
368ab966 |
437 | * $data_dir = '/var/local/squirrelmail/data/'; |
a3439b27 |
438 | * |
f6cfbdac |
439 | * Relative (to main SM directory): |
884eba1e |
440 | * $data_dir = SM_PATH . 'data/'; |
368ab966 |
441 | * (NOT recommended: you need to secure apache to make sure these |
442 | * files are not world readable) |
443 | * |
2d896bbf |
444 | * @global string $data_dir |
a3439b27 |
445 | */ |
368ab966 |
446 | $data_dir = '/var/local/squirrelmail/data'; |
a3439b27 |
447 | |
448 | /** |
2d896bbf |
449 | * Attachments directory |
450 | * |
a3439b27 |
451 | * Path to directory used for storing attachments while a mail is |
452 | * being sent. There are a few security considerations regarding |
453 | * this directory: |
454 | * + It should have the permission 733 (rwx-wx-wx) to make it |
455 | * impossible for a random person with access to the webserver to |
456 | * list files in this directory. Confidential data might be laying |
457 | * around there. |
458 | * + Since the webserver is not able to list the files in the content |
368ab966 |
459 | * is also impossible for the webserver to delete files lying around |
460 | * there for too long. You should have some script that deletes |
461 | * left over temp files. |
a3439b27 |
462 | * + It should probably be another directory than data_dir. |
2d896bbf |
463 | * @global string $attachment_dir |
a3439b27 |
464 | */ |
f6cfbdac |
465 | $attachment_dir = $data_dir; |
a3439b27 |
466 | |
f6cfbdac |
467 | /** |
468 | * Hash level used for data directory. |
91e0dccc |
469 | * |
598294a7 |
470 | * This option allows spliting file based SquirrelMail user |
f6cfbdac |
471 | * data storage directory into several subfolders. Number from |
472 | * 0 to 4 allows allows having up to four subfolder levels. |
473 | * |
91e0dccc |
474 | * Hashing should speed up directory access if you have big number |
f6cfbdac |
475 | * of users (500 and more). |
2d896bbf |
476 | * @global integer $dir_hash_level |
f6cfbdac |
477 | */ |
a3439b27 |
478 | $dir_hash_level = 0; |
479 | |
480 | /** |
2d896bbf |
481 | * Default Size of Folder List |
482 | * |
a3439b27 |
483 | * This is the default size of the folder list. Default |
484 | * is 150, but you can set it to whatever you wish. |
2d896bbf |
485 | * @global string $default_left_size |
a3439b27 |
486 | */ |
f6cfbdac |
487 | $default_left_size = '150'; |
a3439b27 |
488 | |
489 | /** |
2d896bbf |
490 | * Username Case Control |
491 | * |
a3439b27 |
492 | * Some IMAP servers allow a username (like 'bob') to log in if they use |
493 | * uppercase in their name (like 'Bob' or 'BOB'). This creates extra |
494 | * preference files. Toggling this option to true will transparently |
495 | * change all usernames to lowercase. |
2d896bbf |
496 | * @global bool $force_username_lowercase |
a3439b27 |
497 | */ |
a3439b27 |
498 | $force_username_lowercase = false; |
499 | |
f6cfbdac |
500 | /** |
2d896bbf |
501 | * Email Priority Control |
502 | * |
f6cfbdac |
503 | * This option enables use of email priority flags by end users. |
2d896bbf |
504 | * @global bool $default_use_priority |
f6cfbdac |
505 | */ |
506 | $default_use_priority = true; |
507 | |
508 | /** |
2d896bbf |
509 | * SquirrelMail Attributions Control |
510 | * |
598294a7 |
511 | * This option disables display of "created by SquirrelMail developers" |
f6cfbdac |
512 | * strings and provider link |
2d896bbf |
513 | * @global bool $hide_sm_attributions |
f6cfbdac |
514 | */ |
515 | $hide_sm_attributions = false; |
516 | |
517 | /** |
2d896bbf |
518 | * Delivery Receipts Control |
519 | * |
520 | * This option enables use of read/delivery receipts by end users. |
521 | * @global bool $default_use_mdn |
f6cfbdac |
522 | */ |
523 | $default_use_mdn = true; |
524 | |
525 | /** |
2d896bbf |
526 | * Identity Controls |
527 | * |
f6cfbdac |
528 | * If you don't want to allow users to change their email address |
529 | * then you can set $edit_identity to false, if you want them to |
530 | * not be able to change their full name too then set $edit_name |
531 | * to false as well. $edit_name has no effect unless $edit_identity |
532 | * is false; |
2d896bbf |
533 | * @global bool $edit_identity |
534 | * @global bool $edit_name |
f6cfbdac |
535 | */ |
536 | $edit_identity = true; |
537 | $edit_name = true; |
538 | |
432db2fc |
539 | /** |
540 | * SquirrelMail adds username information to every sent email. |
541 | * It is done in order to prevent possible sender forging when |
542 | * end users are allowed to change their email and name |
543 | * information. |
544 | * |
545 | * You can disable this header, if you think that it violates |
546 | * user's privacy or security. Please note, that setting will |
547 | * work only when users are not allowed to change their identity. |
548 | * |
549 | * See SquirrelMail bug tracker #847107 for more details about it. |
550 | * @global bool $hide_auth_header |
94511d23 |
551 | * @since 1.5.1 and 1.4.5 |
432db2fc |
552 | */ |
553 | $hide_auth_header = false; |
554 | |
f6cfbdac |
555 | /** |
2d896bbf |
556 | * Server Side Threading Control |
557 | * |
f6cfbdac |
558 | * If you want to enable server side thread sorting options |
91e0dccc |
559 | * Your IMAP server must support the THREAD extension for |
f6cfbdac |
560 | * this to work. |
2d896bbf |
561 | * @global bool $allow_thread_sort |
f6cfbdac |
562 | */ |
563 | $allow_thread_sort = false; |
564 | |
2d896bbf |
565 | /** |
566 | * Server Side Sorting Control |
567 | * |
f6cfbdac |
568 | * to use server-side sorting instead of SM client side. |
569 | * Your IMAP server must support the SORT extension for this |
570 | * to work. |
2d896bbf |
571 | * @global bool $allow_server_sort |
f6cfbdac |
572 | */ |
573 | $allow_server_sort = false; |
574 | |
575 | /** |
2d896bbf |
576 | * IMAP Charset Use Control |
577 | * |
f6cfbdac |
578 | * This option allows you to choose if SM uses charset search |
91e0dccc |
579 | * Your imap server should support SEARCH CHARSET command for |
f6cfbdac |
580 | * this to work. |
2d896bbf |
581 | * @global bool $allow_charset_search |
f6cfbdac |
582 | */ |
583 | $allow_charset_search = true; |
584 | |
fdefb2e7 |
585 | /** |
586 | * Search functions control |
587 | * |
588 | * This option allows you to control the use of advanced search form. |
589 | * Set to 0 to enable basic search only, 1 to enable advanced search only |
590 | * or 2 to enable both. |
591 | * @global integer $allow_advanced_search |
592 | */ |
593 | $allow_advanced_search = 0; |
594 | |
f6cfbdac |
595 | /** |
2d896bbf |
596 | * PHP session name. |
597 | * |
598 | * Leave this alone unless you know what you are doing. |
599 | * @global string $session_name |
f6cfbdac |
600 | */ |
601 | $session_name = 'SQMSESSID'; |
602 | |
603 | |
a3439b27 |
604 | /** |
605 | * Themes |
606 | * You can define your own theme and put it in this directory. |
607 | * You must call it as the example below. You can name the theme |
608 | * whatever you want. For an example of a theme, see the ones |
609 | * included in the config directory. |
610 | * |
611 | * To add a new theme to the options that users can choose from, just |
612 | * add a new number to the array at the bottom, and follow the pattern. |
91e0dccc |
613 | * |
f6cfbdac |
614 | * $theme_default sets theme that will be used by default |
91e0dccc |
615 | * $theme_css sets stylesheet (from theme/css directory) that will be |
f6cfbdac |
616 | * used by default. |
2d896bbf |
617 | * @global integer $theme_default |
618 | * @global string $theme_css |
a3439b27 |
619 | */ |
57c6fabc |
620 | $theme_default = 0; |
f6cfbdac |
621 | $theme_css = ''; |
a3439b27 |
622 | |
2d896bbf |
623 | /** |
624 | * Listing of installed themes |
625 | * @global array $theme |
626 | */ |
884eba1e |
627 | $theme[0]['PATH'] = SM_PATH . 'themes/default_theme.php'; |
a3439b27 |
628 | $theme[0]['NAME'] = 'Default'; |
629 | |
884eba1e |
630 | $theme[1]['PATH'] = SM_PATH . 'themes/plain_blue_theme.php'; |
a3439b27 |
631 | $theme[1]['NAME'] = 'Plain Blue'; |
632 | |
884eba1e |
633 | $theme[2]['PATH'] = SM_PATH . 'themes/sandstorm_theme.php'; |
a3439b27 |
634 | $theme[2]['NAME'] = 'Sand Storm'; |
635 | |
884eba1e |
636 | $theme[3]['PATH'] = SM_PATH . 'themes/deepocean_theme.php'; |
a3439b27 |
637 | $theme[3]['NAME'] = 'Deep Ocean'; |
638 | |
884eba1e |
639 | $theme[4]['PATH'] = SM_PATH . 'themes/slashdot_theme.php'; |
a3439b27 |
640 | $theme[4]['NAME'] = 'Slashdot'; |
641 | |
884eba1e |
642 | $theme[5]['PATH'] = SM_PATH . 'themes/purple_theme.php'; |
a3439b27 |
643 | $theme[5]['NAME'] = 'Purple'; |
644 | |
884eba1e |
645 | $theme[6]['PATH'] = SM_PATH . 'themes/forest_theme.php'; |
a3439b27 |
646 | $theme[6]['NAME'] = 'Forest'; |
647 | |
884eba1e |
648 | $theme[7]['PATH'] = SM_PATH . 'themes/ice_theme.php'; |
a3439b27 |
649 | $theme[7]['NAME'] = 'Ice'; |
650 | |
884eba1e |
651 | $theme[8]['PATH'] = SM_PATH . 'themes/seaspray_theme.php'; |
a3439b27 |
652 | $theme[8]['NAME'] = 'Sea Spray'; |
653 | |
884eba1e |
654 | $theme[9]['PATH'] = SM_PATH . 'themes/bluesteel_theme.php'; |
a3439b27 |
655 | $theme[9]['NAME'] = 'Blue Steel'; |
656 | |
884eba1e |
657 | $theme[10]['PATH'] = SM_PATH . 'themes/dark_grey_theme.php'; |
a3439b27 |
658 | $theme[10]['NAME'] = 'Dark Grey'; |
659 | |
884eba1e |
660 | $theme[11]['PATH'] = SM_PATH . 'themes/high_contrast_theme.php'; |
a3439b27 |
661 | $theme[11]['NAME'] = 'High Contrast'; |
662 | |
884eba1e |
663 | $theme[12]['PATH'] = SM_PATH . 'themes/black_bean_burrito_theme.php'; |
a3439b27 |
664 | $theme[12]['NAME'] = 'Black Bean Burrito'; |
665 | |
884eba1e |
666 | $theme[13]['PATH'] = SM_PATH . 'themes/servery_theme.php'; |
a3439b27 |
667 | $theme[13]['NAME'] = 'Servery'; |
668 | |
884eba1e |
669 | $theme[14]['PATH'] = SM_PATH . 'themes/maize_theme.php'; |
a3439b27 |
670 | $theme[14]['NAME'] = 'Maize'; |
671 | |
884eba1e |
672 | $theme[15]['PATH'] = SM_PATH . 'themes/bluesnews_theme.php'; |
a3439b27 |
673 | $theme[15]['NAME'] = 'BluesNews'; |
674 | |
884eba1e |
675 | $theme[16]['PATH'] = SM_PATH . 'themes/deepocean2_theme.php'; |
a3439b27 |
676 | $theme[16]['NAME'] = 'Deep Ocean 2'; |
677 | |
884eba1e |
678 | $theme[17]['PATH'] = SM_PATH . 'themes/blue_grey_theme.php'; |
ecf5c1bd |
679 | $theme[17]['NAME'] = 'Blue Grey'; |
a3439b27 |
680 | |
884eba1e |
681 | $theme[18]['PATH'] = SM_PATH . 'themes/dompie_theme.php'; |
a3439b27 |
682 | $theme[18]['NAME'] = 'Dompie'; |
683 | |
884eba1e |
684 | $theme[19]['PATH'] = SM_PATH . 'themes/methodical_theme.php'; |
a3439b27 |
685 | $theme[19]['NAME'] = 'Methodical'; |
686 | |
884eba1e |
687 | $theme[20]['PATH'] = SM_PATH . 'themes/greenhouse_effect.php'; |
a3439b27 |
688 | $theme[20]['NAME'] = 'Greenhouse Effect (Changes)'; |
6e0fa5e6 |
689 | |
884eba1e |
690 | $theme[21]['PATH'] = SM_PATH . 'themes/in_the_pink.php'; |
a3439b27 |
691 | $theme[21]['NAME'] = 'In The Pink (Changes)'; |
94c9adcb |
692 | |
884eba1e |
693 | $theme[22]['PATH'] = SM_PATH . 'themes/kind_of_blue.php'; |
a3439b27 |
694 | $theme[22]['NAME'] = 'Kind of Blue (Changes)'; |
695 | |
884eba1e |
696 | $theme[23]['PATH'] = SM_PATH . 'themes/monostochastic.php'; |
a3439b27 |
697 | $theme[23]['NAME'] = 'Monostochastic (Changes)'; |
a610c5e4 |
698 | |
884eba1e |
699 | $theme[24]['PATH'] = SM_PATH . 'themes/shades_of_grey.php'; |
a3439b27 |
700 | $theme[24]['NAME'] = 'Shades of Grey (Changes)'; |
a610c5e4 |
701 | |
884eba1e |
702 | $theme[25]['PATH'] = SM_PATH . 'themes/spice_of_life.php'; |
a3439b27 |
703 | $theme[25]['NAME'] = 'Spice of Life (Changes)'; |
a1b33f64 |
704 | |
884eba1e |
705 | $theme[26]['PATH'] = SM_PATH . 'themes/spice_of_life_lite.php'; |
a3439b27 |
706 | $theme[26]['NAME'] = 'Spice of Life - Lite (Changes)'; |
a1b33f64 |
707 | |
884eba1e |
708 | $theme[27]['PATH'] = SM_PATH . 'themes/spice_of_life_dark.php'; |
a3439b27 |
709 | $theme[27]['NAME'] = 'Spice of Life - Dark (Changes)'; |
a1b33f64 |
710 | |
884eba1e |
711 | $theme[28]['PATH'] = SM_PATH . 'themes/christmas.php'; |
a3439b27 |
712 | $theme[28]['NAME'] = 'Holiday - Christmas'; |
713 | |
884eba1e |
714 | $theme[29]['PATH'] = SM_PATH . 'themes/darkness.php'; |
9007bf00 |
715 | $theme[29]['NAME'] = 'Darkness (Changes)'; |
716 | |
884eba1e |
717 | $theme[30]['PATH'] = SM_PATH . 'themes/random.php'; |
fb351cd8 |
718 | $theme[30]['NAME'] = 'Random (Changes every login)'; |
719 | |
884eba1e |
720 | $theme[31]['PATH'] = SM_PATH . 'themes/midnight.php'; |
fb351cd8 |
721 | $theme[31]['NAME'] = 'Midnight'; |
9007bf00 |
722 | |
884eba1e |
723 | $theme[32]['PATH'] = SM_PATH . 'themes/alien_glow.php'; |
211f8c1d |
724 | $theme[32]['NAME'] = 'Alien Glow'; |
725 | |
884eba1e |
726 | $theme[33]['PATH'] = SM_PATH . 'themes/dark_green.php'; |
211f8c1d |
727 | $theme[33]['NAME'] = 'Dark Green'; |
728 | |
884eba1e |
729 | $theme[34]['PATH'] = SM_PATH . 'themes/penguin.php'; |
46b89abe |
730 | $theme[34]['NAME'] = 'Penguin'; |
716fa276 |
731 | |
e79c77f2 |
732 | $theme[35]['PATH'] = SM_PATH . 'themes/minimal_bw.php'; |
733 | $theme[35]['NAME'] = 'Minimal BW'; |
734 | |
f2225182 |
735 | $theme[36]['PATH'] = SM_PATH . 'themes/redmond.php'; |
736 | $theme[36]['NAME'] = 'Redmond'; |
e79c77f2 |
737 | |
1043c75f |
738 | $theme[37]['PATH'] = SM_PATH . 'themes/netstyle_theme.php'; |
739 | $theme[37]['NAME'] = 'Net Style'; |
740 | |
741 | $theme[38]['PATH'] = SM_PATH . 'themes/silver_steel_theme.php'; |
742 | $theme[38]['NAME'] = 'Silver Steel'; |
743 | |
744 | $theme[39]['PATH'] = SM_PATH . 'themes/simple_green_theme.php'; |
745 | $theme[39]['NAME'] = 'Simple Green'; |
746 | |
747 | $theme[40]['PATH'] = SM_PATH . 'themes/wood_theme.php'; |
748 | $theme[40]['NAME'] = 'Wood'; |
749 | |
c14fa1b5 |
750 | $theme[41]['PATH'] = SM_PATH . 'themes/bluesome.php'; |
751 | $theme[41]['NAME'] = 'Bluesome'; |
752 | |
37b0cf0c |
753 | $theme[42]['PATH'] = SM_PATH . 'themes/simple_green2.php'; |
754 | $theme[42]['NAME'] = 'Simple Green 2'; |
755 | |
756 | $theme[43]['PATH'] = SM_PATH . 'themes/simple_purple.php'; |
757 | $theme[43]['NAME'] = 'Simple Purple'; |
758 | |
a3439b27 |
759 | /** |
760 | * LDAP server(s) |
761 | * Array of arrays with LDAP server parameters. See |
762 | * functions/abook_ldap_server.php for a list of possible |
763 | * parameters |
764 | * |
765 | * EXAMPLE: |
766 | * $ldap_server[0] = Array( |
767 | * 'host' => 'memberdir.netscape.com', |
768 | * 'name' => 'Netcenter Member Directory', |
769 | * 'base' => 'ou=member_directory,o=netcenter.com' |
91e0dccc |
770 | * ); |
a3439b27 |
771 | */ |
f6cfbdac |
772 | // Add your ldap server options here |
3499f99f |
773 | |
a3439b27 |
774 | /** |
2d896bbf |
775 | * Javascript in Addressbook Control |
776 | * |
a3439b27 |
777 | * Users may search their addressbook via either a plain HTML or Javascript |
778 | * enhanced user interface. This option allows you to set the default choice. |
779 | * Set this default choice as either: |
780 | * true = javascript |
781 | * false = html |
2d896bbf |
782 | * @global bool $default_use_javascript_addr_book |
a3439b27 |
783 | */ |
a3439b27 |
784 | $default_use_javascript_addr_book = false; |
785 | |
4272758c |
786 | /** |
787 | * Shared filebased address book |
788 | * @global string $abook_global_file |
71d3f882 |
789 | * @since 1.5.1 and 1.4.4 |
4272758c |
790 | */ |
791 | $abook_global_file = ''; |
792 | |
793 | /** |
794 | * Writing into shared address book control |
795 | * @global bool $abook_global_file_writeable |
71d3f882 |
796 | * @since 1.5.1 and 1.4.4 |
4272758c |
797 | */ |
798 | $abook_global_file_writeable = false; |
a3439b27 |
799 | |
71d3f882 |
800 | /** |
801 | * Listing of shared address book control |
802 | * @global bool $abook_global_file_listing |
803 | * @since 1.5.1 |
804 | */ |
805 | $abook_global_file_listing = true; |
806 | |
80e86e94 |
807 | /** |
f6cfbdac |
808 | * MOTD |
2d896bbf |
809 | * |
91e0dccc |
810 | * This is a message that is displayed immediately after a user logs in. |
2d896bbf |
811 | * @global string $motd |
80e86e94 |
812 | */ |
f6cfbdac |
813 | $motd = ""; |
80e86e94 |
814 | |
80e86e94 |
815 | |
a3439b27 |
816 | /** |
817 | * To install plugins, just add elements to this array that have |
818 | * the plugin directory name relative to the /plugins/ directory. |
819 | * For instance, for the 'sqclock' plugin, you'd put a line like |
820 | * the following. |
a1b036d6 |
821 | * $plugins[] = 'sqclock'; |
822 | * $plugins[] = 'attachment_common'; |
a3439b27 |
823 | */ |
f6cfbdac |
824 | // Add list of enabled plugins here |
a3439b27 |
825 | |
f6cfbdac |
826 | |
827 | /*** Database ***/ |
8a7d0669 |
828 | /** |
91e0dccc |
829 | * Read doc/database.txt in order to get more information |
f6cfbdac |
830 | * about these settings. |
8a7d0669 |
831 | */ |
f6cfbdac |
832 | /** |
833 | * Database-driven private addressbooks |
834 | * DSN (Data Source Name) for a database where the private |
835 | * addressbooks are stored. See doc/db-backend.txt for more info. |
836 | * If it is not set, the addressbooks are stored in files |
837 | * in the data dir. |
838 | * The DSN is in the format: mysql://user:pass@hostname/dbname |
839 | * The table is the name of the table to use within the |
840 | * specified database. |
841 | */ |
842 | $addrbook_dsn = ''; |
843 | $addrbook_table = 'address'; |
844 | /** |
845 | * Database used to store user data |
846 | */ |
847 | $prefs_dsn = ''; |
848 | $prefs_table = 'userprefs'; |
06316c07 |
849 | /** |
850 | * Preference key field |
851 | * @global string $prefs_key_field |
852 | */ |
f6cfbdac |
853 | $prefs_key_field = 'prefkey'; |
06316c07 |
854 | /** |
855 | * Size of preference key field |
856 | * @global integer $prefs_key_size |
857 | * @since 1.5.1 |
858 | */ |
859 | $prefs_key_size = 64; |
860 | /** |
861 | * Preference owner field |
862 | * @global string $prefs_user_field |
863 | */ |
f6cfbdac |
864 | $prefs_user_field = 'user'; |
06316c07 |
865 | /** |
866 | * Size of preference owner field |
867 | * @global integer $prefs_user_size |
868 | * @since 1.5.1 |
869 | */ |
870 | $prefs_user_size = 128; |
871 | /** |
872 | * Preference value field |
873 | * @global string $prefs_val_field |
874 | */ |
f6cfbdac |
875 | $prefs_val_field = 'prefval'; |
06316c07 |
876 | /** |
877 | * Size of preference key field |
878 | * @global integer $prefs_val_size |
879 | * @since 1.5.1 |
880 | */ |
881 | $prefs_val_size = 65536; |
71d3f882 |
882 | |
883 | /*** Global sql database options ***/ |
30e9932c |
884 | /** |
71d3f882 |
885 | * DSN of global address book database |
886 | * @global string $addrbook_global_dsn |
887 | * @since 1.5.1 |
30e9932c |
888 | */ |
889 | $addrbook_global_dsn = ''; |
71d3f882 |
890 | /** |
891 | * Table used for global database address book |
892 | * @global string $addrbook_global_table |
893 | * @since 1.5.1 |
894 | */ |
30e9932c |
895 | $addrbook_global_table = 'global_abook'; |
71d3f882 |
896 | /** |
897 | * Control writing into global database address book |
898 | * @global boolean $addrbook_global_writeable |
899 | * @since 1.5.1 |
900 | */ |
30e9932c |
901 | $addrbook_global_writeable = false; |
71d3f882 |
902 | /** |
903 | * Control listing of global database address book |
904 | * @global boolean $addrbook_global_listing |
905 | * @since 1.5.1 |
906 | */ |
30e9932c |
907 | $addrbook_global_listing = false; |
7c612fdd |
908 | |
f6cfbdac |
909 | /*** Language settings ***/ |
7c612fdd |
910 | /** |
f6cfbdac |
911 | * Default language |
2d896bbf |
912 | * |
f6cfbdac |
913 | * This is the default language. It is used as a last resort |
914 | * if SquirrelMail can't figure out which language to display. |
91e0dccc |
915 | * Language names usually consist of language code, undercore |
f6cfbdac |
916 | * symbol and country code |
2d896bbf |
917 | * @global string $squirrelmail_default_language |
aa0da530 |
918 | */ |
f6cfbdac |
919 | $squirrelmail_default_language = 'en_US'; |
7c612fdd |
920 | |
f6cfbdac |
921 | /** |
2d896bbf |
922 | * Default Charset |
923 | * |
fe48c808 |
924 | * This option controls what character set is used when sending |
925 | * mail and when sending HTML to the browser. Option works only |
926 | * with US English (en_US) translation. Other translations use |
927 | * charsets that are set in functions/i18n.php. |
928 | * |
2d896bbf |
929 | * @global string $default_charset |
f6cfbdac |
930 | */ |
931 | $default_charset = 'iso-8859-1'; |
7c612fdd |
932 | |
f6cfbdac |
933 | /** |
2d896bbf |
934 | * Alternative Language Names Control |
935 | * |
91e0dccc |
936 | * This options allows displaying native language names in language |
f6cfbdac |
937 | * selection box. |
2d896bbf |
938 | * @global bool $show_alternative_names |
f03f6ee7 |
939 | * @since 1.5.0 |
f6cfbdac |
940 | */ |
941 | $show_alternative_names = false; |
aa0da530 |
942 | |
ca85aabe |
943 | /** |
f03f6ee7 |
944 | * Aggressive Decoding Control |
2d896bbf |
945 | * |
91e0dccc |
946 | * This option enables reading of Eastern multibyte encodings. |
f6cfbdac |
947 | * Functions that provide this support are very cpu and memory intensive. |
948 | * Don't enable this option unless you really need it. |
f03f6ee7 |
949 | * @global bool $aggressive_decoding |
950 | * @since 1.5.1 |
ca85aabe |
951 | */ |
f03f6ee7 |
952 | $aggressive_decoding = false; |
953 | |
954 | /** |
6d3689f5 |
955 | * Lossy Encoding Control |
f03f6ee7 |
956 | * |
91e0dccc |
957 | * This option allows charset conversions when output charset does not support |
958 | * all symbols used in original charset. Symbols unsupported by output charset |
f03f6ee7 |
959 | * will be replaced with question marks. |
6d3689f5 |
960 | * @global bool $lossy_encoding |
f03f6ee7 |
961 | * @since 1.5.1 |
962 | */ |
6d3689f5 |
963 | $lossy_encoding = false; |
ca85aabe |
964 | |
4766fd60 |
965 | /** |
966 | * Controls use of time zone libraries |
967 | * |
968 | * Possible values: |
969 | * <ul> |
970 | * <li>0 - default, SquirrelMail uses GNU C timezone names in |
971 | * TZ environment variables |
972 | * <li>1 - strict, SquirrelMail uses 'TZ' subkey values in TZ |
973 | * environment variables |
974 | * <li>2 - custom, SquirrelMail loads time zone data from |
975 | * config/timezones.php and uses time zone array keys in |
976 | * TZ enviroment variables |
977 | * <li>3 - custom strict, SquirrelMail loads time zone data from |
978 | * config/timezones.php and uses TZ subkey values in |
979 | * TZ enviroment variables |
980 | * </ul> |
981 | * Use of any other value switches to default SquirrelMail time zone |
982 | * handling ($time_zone_type). |
983 | * @global integer $time_zone_type |
984 | * @since 1.5.1 |
985 | */ |
986 | $time_zone_type = 0; |
987 | |
f6cfbdac |
988 | /*** Tweaks ***/ |
989 | /** |
91e0dccc |
990 | * Advanced DHTML tree control |
2d896bbf |
991 | * |
f6cfbdac |
992 | * Use experimental DHTML folder listing |
2d896bbf |
993 | * @global bool $advanced_tree |
f03f6ee7 |
994 | * @since 1.5.0 |
f6cfbdac |
995 | */ |
996 | $advanced_tree = false; |
f03f6ee7 |
997 | |
74d6a0d9 |
998 | /** |
999 | * Iframe sandbox code control |
1000 | * |
1001 | * Use iframe to render html emails |
1002 | * (temp option used during debuging of new code) |
1003 | * @global bool $use_iframe |
1004 | * @since 1.5.1 |
1005 | */ |
1006 | $use_iframe = false; |
1007 | |
6395c46d |
1008 | /** |
2d896bbf |
1009 | * Message Icons control |
1010 | * |
6395c46d |
1011 | * Use icons for message and folder markers |
2d896bbf |
1012 | * @global bool $use_icons |
71d3f882 |
1013 | * @since 1.5.1 |
6395c46d |
1014 | */ |
1015 | $use_icons = false; |
2d896bbf |
1016 | |
f6cfbdac |
1017 | /** |
2d896bbf |
1018 | * PHP recode functions control |
1019 | * |
f6cfbdac |
1020 | * Use experimental code with php recode functions when reading messages with |
1021 | * different encoding. This code is faster that original SM functions, |
1022 | * but it require php with recode support. |
91e0dccc |
1023 | * |
1024 | * Don't enable this option if you are not sure about availability of |
f6cfbdac |
1025 | * recode support. |
2d896bbf |
1026 | * @global bool $use_php_recode |
f03f6ee7 |
1027 | * @since 1.5.0 |
f6cfbdac |
1028 | */ |
1029 | $use_php_recode = false; |
f03f6ee7 |
1030 | |
f6cfbdac |
1031 | /** |
2d896bbf |
1032 | * PHP iconv functions control |
1033 | * |
f6cfbdac |
1034 | * Use experimental code with php iconv functions when reading messages with |
1035 | * different encoding. This code is faster that original SM functions, |
1036 | * but it require php with iconv support and works only with some translations. |
91e0dccc |
1037 | * |
1038 | * Don't enable this option if you are not sure about availability of |
f6cfbdac |
1039 | * iconv support. |
2d896bbf |
1040 | * @global bool $use_php_iconv |
f03f6ee7 |
1041 | * @since 1.5.0 |
f6cfbdac |
1042 | */ |
1043 | $use_php_iconv = false; |
ca85aabe |
1044 | |
71d3f882 |
1045 | /** |
1046 | * Controls remote configuration checks |
1047 | * @global boolean $allow_remote_configtest |
1048 | * @since 1.5.1 |
1049 | */ |
1050 | $allow_remote_configtest = false; |
1051 | |
52ed2f88 |
1052 | /** |
2d896bbf |
1053 | * Subscribe Listing Control |
1054 | * |
52ed2f88 |
1055 | * this disables listing all of the folders on the IMAP Server to |
1056 | * generate the folder subscribe listbox (this can take a long time |
1057 | * when you have a lot of folders). Instead, a textbox will be |
f6cfbdac |
1058 | * displayed allowing users to enter a specific folder name to subscribe to |
91e0dccc |
1059 | * |
f6cfbdac |
1060 | * This option can't be changed by conf.pl |
2d896bbf |
1061 | * @global bool $no_list_for_subscribe |
f6cfbdac |
1062 | */ |
52ed2f88 |
1063 | $no_list_for_subscribe = false; |
1064 | |
47a29326 |
1065 | /** |
2d896bbf |
1066 | * Color in config control |
1067 | * |
f6cfbdac |
1068 | * This option is used only by conf.pl script to generate configuration |
91e0dccc |
1069 | * menu with some colors and is provided here only as reference. |
2d896bbf |
1070 | * @global integer $config_use_color |
47a29326 |
1071 | */ |
f6cfbdac |
1072 | $config_use_color = 2; |
47a29326 |
1073 | |
f6cfbdac |
1074 | /** |
1075 | * This option includes special configuration options |
1076 | */ |
1077 | @include SM_PATH . 'config/config_local.php'; |
9a641903 |
1078 | |
a3439b27 |
1079 | /** |
1080 | * Make sure there are no characters after the PHP closing |
1081 | * tag below (including newline characters and whitespace). |
1082 | * Otherwise, that character will cause the headers to be |
1083 | * sent and regular output to begin, which will majorly screw |
1084 | * things up when we try to send more headers later. |
1085 | */ |
368ab966 |
1086 | ?> |