forked from extern/egroupware
re-imported spellcheck (aspell) integration from Jose
This commit is contained in:
parent
e8ad7a52f7
commit
84c5ba593f
@ -3,10 +3,29 @@ header('Content-type: text/html; charset=utf-8');
|
||||
|
||||
// The following variables values must reflect your installation needs.
|
||||
|
||||
$aspell_prog = '"C:\Program Files\Aspell\bin\aspell.exe"'; // by FredCK (for Windows)
|
||||
//$aspell_prog = '"C:\Program Files\Aspell\bin\aspell.exe"'; // by FredCK (for Windows)
|
||||
//$aspell_prog = 'aspell'; // by FredCK (for Linux)
|
||||
|
||||
$lang = 'en_US';
|
||||
if ($_GET['aspell_path'])
|
||||
{
|
||||
$aspell_prog = $_GET['aspell_path'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$aspell_prog = 'aspell';
|
||||
}
|
||||
|
||||
if ($_GET['spellchecker_lang'])
|
||||
{
|
||||
$lang = $_GET['spellchecker_lang'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$lang = 'en_US';
|
||||
}
|
||||
|
||||
//$lang = 'en_US';
|
||||
|
||||
$aspell_opts = "-a --lang=$lang --encoding=utf-8 -H --rem-sgml-check=alt"; // by FredCK
|
||||
|
||||
$tempfiledir = "./";
|
||||
|
Loading…
Reference in New Issue
Block a user