You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.2 KiB
PHP
33 lines
1.2 KiB
PHP
<?php
|
|
|
|
/*
|
|
+-----------------------------------------------------------------------+
|
|
| program/steps/utils/spell.inc |
|
|
| |
|
|
| This file is part of the Roundcube Webmail client |
|
|
| Licensed under the GNU GPL |
|
|
| |
|
|
| PURPOSE: |
|
|
| Invoke the configured or default spell checking engine. |
|
|
| |
|
|
+-----------------------------------------------------------------------+
|
|
| Author: Kris Steinhoff <steinhof@umich.edu> |
|
|
+-----------------------------------------------------------------------+
|
|
|
|
$Id$
|
|
|
|
*/
|
|
|
|
// 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_'.$tiny.$spell_engine.'.inc');
|
|
}
|
|
|
|
header('HTTP/1.1 404 Not Found');
|
|
exit;
|
|
|