[imp] ispell not working

Szókovács Róbert szo at ies.hu
Wed Jan 11 05:35:14 PST 2006


Chris wrote:

> I don't know much about php... so I would need a little more if I am
> to hack a file...

not that complicated :)

in spelling.php, replace this line:

 exec(escapeshellcmd($spellchecker . ' -a ' . $spell_opt) . ' < ' .
$spellFile, $warnings);

with this two:
    exec(escapeshellcmd($spellchecker . ' -a ' . $spell_opt) . ' < ' .
$spellFile, $warnings, $retval);
    printf($retval);

then invoke the spellchecker from imp and read the value printed.

br

Szo




More information about the imp mailing list