forked from extern/egroupware
re-imported spellcheck (aspell) integration from Jose
This commit is contained in:
parent
fc1d69e060
commit
e2d0b93353
@ -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)
|
||||
|
||||
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