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