Source for file sqspell_config.php
Documentation is available at sqspell_config.php
* sqspell_config.php -- SquirrelSpell Configuration file.
* @copyright 1999-2020 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id: sqspell_config.php 14845 2020-01-07 08:09:34Z pdontthink $
* @subpackage squirrelspell
/** vars needed for getHashedFile() */
* List of configured dictionaries
* This feature was added/changed in 0.3. Use this array to set up
* which dictionaries are available to users. If you only have
* English spellchecker on your system, then let this line be:
* $SQSPELL_APP = array('English' => 'ispell -a');
* $SQSPELL_APP = array('English' => '/usr/local/bin/aspell -a');
* Sometimes you have to specify full path for PHP to find it.
* You can use Aspell or Ispell spellcheckers, the command line is the
* same. Aspell might provide better spellchecking for Western languages.
* If you want to have more than one dictionary available to users,
* configure the array to look something like this:
* $SQSPELL_APP = array('English' => 'aspell -a',
* 'Russian' => 'ispell -d russian -a',
* 'Swahili' => 'ispell -d swahili -a'
* <li>Watch the commas, making sure there isn't one after your last
* dictionary declaration. Also, make sure all these dictionaries
* are available on your system before you specify them here.</li>
* <li>Whatever your setting is, don't omit the "-a" flag.</li>
* <li>Remember to keep same array keys during upgrades. Don't rename them.
* Users' dictionary settings use it.</li>
* <li>Interface might translate array key, if used key is present in
* SquirrelMail translations.</li>
* $SQSPELL_APP = array('English' => 'ispell -a',
* 'Spanish' => 'ispell -d spanish -a' );
* @global array $SQSPELL_APP
$SQSPELL_APP =
array('English' =>
'ispell -a',
'Spanish' =>
'ispell -d spanish -a');
* Sample configuration for PHP pspell extension. Sets dictionary options.
* Each language definition can contain up to 3 comma delimited options.
* First option sets language, second sets spelling, third one sets jargon.
* See http://www.php.net/pspell-new
* Pspell extension is supported since 0.6 (sm 1.5.2)
//$SQSPELL_APP = array('English' => 'en',
* 0 - default, command line ispell or aspell utilities configured with SQSPELL_APP
* 1 - use php pspell extension. WARNING requires different SQSPELL_APP options.
$SQSPELL_SPELLCHECKER =
0;
* Can be used to turn of detection of proc_open support in command line spellcheck
* module. Option is not used if $SQSPELL_SPELLCHECKER is set to 1.
$SQSPELL_FORCE_POPEN =
false;
* @global string $SQSPELL_APP_DEFAULT
$SQSPELL_APP_DEFAULT =
'English';
* File that stores user's dictionary
* $SQSPELL_WORDS_FILE is a location and mask of a user dictionary file.
* The default setting should be OK for most everyone.
* This setting is used only when SquirrelSpell is upgraded from
* older setup. Since SquirrelMail 1.5.1 SquirrelSpell stores all settings in
* same place that stores other SquirrelMail user preferences.
* @global string $SQSPELL_WORDS_FILE
* @deprecated setting is still needed in order to handle upgrades
Documentation generated on Mon, 13 Jan 2020 04:23:34 +0100 by phpDocumentor 1.4.3