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.inc28
1 files changed, 28 insertions, 0 deletions
diff --git a/program/steps/utils/spell.inc b/program/steps/utils/spell.inc
new file mode 100644
index 000000000..dab56956b
--- /dev/null
+++ b/program/steps/utils/spell.inc
@@ -0,0 +1,28 @@
+<?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$
+
+*/
+
+if ($spell_engine = $RCMAIL->config->get('spellcheck_engine', 'googie')) {
+ include('spell_'.$spell_engine.'.inc');
+}
+
+header('HTTP/1.1 404 Not Found');
+exit;
+
+?>