File: use-enchant.patch

package info (click to toggle)
roundcube 1.6.11%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 44,868 kB
  • sloc: javascript: 195,588; php: 76,818; sql: 3,150; sh: 2,882; pascal: 1,079; makefile: 234; xml: 93; perl: 73; ansic: 48; python: 21
file content (25 lines) | stat: -rw-r--r-- 1,042 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Vincent Bernat <bernat@debian.org>
Date: Sun, 5 Jul 2009 09:53:17 +0200
Subject: Use enchant spellchecker engine by default.

We don't want to send messages to a 3rd party…

Forwarded: not-needed
---
 config/defaults.inc.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/config/defaults.inc.php b/config/defaults.inc.php
index 5e2262c..282d502 100644
--- a/config/defaults.inc.php
+++ b/config/defaults.inc.php
@@ -948,7 +948,8 @@ $config['spellcheck_dictionary'] = false;
 // Since Google shut down their public spell checking service, the default settings
 // connect to https://spell.roundcube.net which is a hosted service provided by Roundcube.
 // You can connect to any other googie-compliant service by setting 'spellcheck_uri' accordingly.
-$config['spellcheck_engine'] = 'googie';
+// Debian: default to enchant to not trigger external APIs
+$config['spellcheck_engine'] = 'enchant';
 
 // For locally installed Nox Spell Server or After the Deadline services,
 // please specify the URI to call it.