summaryrefslogtreecommitdiff
path: root/program/steps/utils/spell.inc
diff options
context:
space:
mode:
Diffstat (limited to 'program/steps/utils/spell.inc')
-rw-r--r--program/steps/utils/spell.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/program/steps/utils/spell.inc b/program/steps/utils/spell.inc
index d0fbcb9e4..3778865ac 100644
--- a/program/steps/utils/spell.inc
+++ b/program/steps/utils/spell.inc
@@ -18,11 +18,15 @@
*/
+// max. number of suggestions for one word
+define('MAX_SUGGESTIONS', 10);
+
+$tiny = !empty($_GET['tiny']) ? 'html_' : '';
+
if ($spell_engine = $RCMAIL->config->get('spellcheck_engine', 'googie')) {
- include('spell_'.$spell_engine.'.inc');
+ include('spell_'.$tiny.$spell_engine.'.inc');
}
header('HTTP/1.1 404 Not Found');
exit;
-