X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fsquirrelspell%2Fsqspell_config.php;h=c5a6c1e92656f7d4da670a7ff4837a980184fd5f;hp=467ecf73b2ea4be5ee23644e1de663608a450a32;hb=c69bc63529c64510bdccbfb74bfcecc1d9d0d07b;hpb=6c99d1de81366bceab6c9d6cf12179eedc81f9bc diff --git a/plugins/squirrelspell/sqspell_config.php b/plugins/squirrelspell/sqspell_config.php index 467ecf73..c5a6c1e9 100644 --- a/plugins/squirrelspell/sqspell_config.php +++ b/plugins/squirrelspell/sqspell_config.php @@ -3,7 +3,7 @@ /** * sqspell_config.php -- SquirrelSpell Configuration file. * - * @copyright © 1999-2006 The SquirrelMail Project Team + * @copyright © 1999-2007 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package plugins @@ -61,6 +61,29 @@ sqgetGlobalVar('username', $username, SQ_SESSION); $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', +// 'Spanish' => 'es'); + +/** + * 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; + /** * Default dictionary * @global string $SQSPELL_APP_DEFAULT