summaryrefslogtreecommitdiff
path: root/program/steps/utils/spell.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-05-18 10:25:29 +0000
committeralecpl <alec@alec.pl>2010-05-18 10:25:29 +0000
commit677e1f26fe47cc0c3e0819cb99a9024af49a619c (patch)
tree91074d603179889ba7fbde9d080c85ed62b27846 /program/steps/utils/spell.inc
parentcaccd193c8403913d7c77d65363ff6e4d4269dfb (diff)
- Some files from /bin + spellchecking actions moved to the new 'utils' task
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;
+
+?>