849bdf42 |
1 | <?php |
d112ed5a |
2 | /** |
3 | * sqspell_config.php -- SquirrelSpell Configuration file. |
4 | * |
76911253 |
5 | * Copyright (c) 1999-2003 The SquirrelMail Project Team |
d112ed5a |
6 | * Licensed under the GNU GPL. For full terms see the file COPYING. |
7 | * |
8 | * |
9 | * |
10 | * $Id$ |
11 | */ |
849bdf42 |
12 | |
cd7fc9e6 |
13 | require_once(SM_PATH . 'functions/prefs.php'); |
3392dc86 |
14 | |
d112ed5a |
15 | /* Just for poor wretched souls with E_ALL. :) */ |
8a9f9d09 |
16 | global $data_dir; |
17 | |
b587ac51 |
18 | sqgetGlobalVar('username', $username, SQ_SESSION); |
849bdf42 |
19 | |
d112ed5a |
20 | /** |
21 | * Example: |
22 | * |
23 | * $SQSPELL_APP = array( 'English' => 'ispell -a', |
24 | * 'Spanish' => 'ispell -d spanish -a' ); |
25 | */ |
2a917bbc |
26 | $SQSPELL_APP = array('English' => 'ispell -a', |
27 | 'Spanish' => 'ispell -d spanish -a'); |
d112ed5a |
28 | $SQSPELL_APP_DEFAULT = 'English'; |
29 | $SQSPELL_WORDS_FILE = |
30 | getHashedFile($username, $data_dir, "$username.words"); |
849bdf42 |
31 | |
d112ed5a |
32 | $SQSPELL_EREG = 'ereg'; |
849bdf42 |
33 | |
3392dc86 |
34 | ?> |