4 Modify the sqspell_config.php file making sure you have ispell or aspell
5 available on your system and located in PHP's path. The squirrelspell
6 doesn't check for that and if it is not available, you're just going to
7 get a "No errors found" message every time. :) Quite pleasing, but not
10 Read files in "doc" directory -- they explain some features.
12 Enable the plugin either by hand or by running the configure script from
13 your SquirrelMail install directory.
15 NOTE: If you are using php >= 4.3.0 squirrelspell should work in safe mode.
16 Otherwise, you may have to disable safe mode for the squirrelspell directory.
18 <Directory /webroot/squirrelmail/plugins/squirrelspell>
19 php_admin_value safe_mode 0
23 Enjoy and report bugs. ;)
25 This is an options commented sqspell_config.php
29 * sqspell_config.php -- SquirrelSpell Configuration file.
31 * Copyright (c) 1999-2022 The SquirrelMail Project Team
32 * Licensed under the GNU GPL. For full terms see the file COPYING.
36 if (! defined('SM_PATH')) define('SM_PATH','../../');
39 * getHashedFile() function for SQSPELL_WORDS_FILE and
40 * sqgetGlobalVar() from global.php
42 include_once(SM_PATH . 'functions/prefs.php');
44 /** vars needed for getHashedFile() */
46 sqgetGlobalVar('username', $username, SQ_SESSION);
49 * List of configured dictionaries
51 $SQSPELL_APP = array('English' => 'ispell -a',
52 'Spanish' => 'ispell -d spanish -a');
57 $SQSPELL_APP_DEFAULT = 'English';
60 * File that stores user's dictionary
62 * This setting is used only when squirrelspell is upgraded from
63 * older setup. Since 1.5.1 SquirrelSpell stores all settings in
64 * same place that stores other SquirrelMail user preferences.
67 getHashedFile($username, $data_dir, "$username.words");