summaryrefslogtreecommitdiff
path: root/program/steps/utils/spell.inc
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-10-18 12:50:25 +0200
committerThomas Bruederli <thomas@roundcube.net>2013-10-18 12:50:25 +0200
commitc344b64f13e7aa3c87c423cc14e57536d28c40b6 (patch)
treedc64f304fc4cb0082f45d2cb560259ec22acee47 /program/steps/utils/spell.inc
parent70c7df8faa5a9023a2773dc5a38932f1ad3a84aa (diff)
Get supported spell-check languages from the configured backend; replace suspended google spell service with our new service at spell.roundcube.net
Diffstat (limited to 'program/steps/utils/spell.inc')
-rw-r--r--program/steps/utils/spell.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/program/steps/utils/spell.inc b/program/steps/utils/spell.inc
index 1c68e8328..595cfd6f2 100644
--- a/program/steps/utils/spell.inc
+++ b/program/steps/utils/spell.inc
@@ -47,6 +47,9 @@ if ($err = $spellchecker->error()) {
'file' => __FILE__, 'line' => __LINE__,
'message' => "Spell check engine error: " . trim($err)),
true, false);
+
+ header("HTTP/1.0 500 Internal Server Error");
+ exit;
}
// set response length