X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fsquirrelspell%2Fsqspell_config.php;h=f2a59ca88104c43e8089e6c956da7814b65e2c57;hb=b587ac51cdb214754146d61829ba87bf4341f949;hp=a34a856f4eaaffb6d787893aa023cae7ecc5b57a;hpb=d6a1308a456bb595d60a2a1f02df6912e2afe48c;p=squirrelmail.git diff --git a/plugins/squirrelspell/sqspell_config.php b/plugins/squirrelspell/sqspell_config.php index a34a856f..f2a59ca8 100644 --- a/plugins/squirrelspell/sqspell_config.php +++ b/plugins/squirrelspell/sqspell_config.php @@ -1,24 +1,34 @@ 'ispell -a' ); - $SQSPELL_APP_DEFAULT = 'English'; - $SQSPELL_WORDS_FILE = "$data_dir/$username.words"; - $SQSPELL_EREG = 'ereg'; - $SQSPELL_SOUP_NAZI = 'Mozilla/3, Mozilla/2, Opera 4, Opera/4, Macintosh'; +/** + * Example: + * + * $SQSPELL_APP = array( 'English' => 'ispell -a', + * 'Spanish' => 'ispell -d spanish -a' ); + */ +$SQSPELL_APP = array('English' => 'ispell -a', + 'Spanish' => 'ispell -d spanish -a'); +$SQSPELL_APP_DEFAULT = 'English'; +$SQSPELL_WORDS_FILE = + getHashedFile($username, $data_dir, "$username.words"); -?> \ No newline at end of file +$SQSPELL_EREG = 'ereg'; + +?>