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