From ded713982e3f2e73b50ba2b5589cdd82cc68b749 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Fri, 15 Aug 2008 18:00:33 -0400
Subject: [PATCH] Respect spellcheck_uri in tinyMCE spellchecker (#1484196)

---
 program/js/tiny_mce/plugins/spellchecker/config.php |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/program/js/tiny_mce/plugins/spellchecker/config.php b/program/js/tiny_mce/plugins/spellchecker/config.php
index 827749e..53e6e46 100755
--- a/program/js/tiny_mce/plugins/spellchecker/config.php
+++ b/program/js/tiny_mce/plugins/spellchecker/config.php
@@ -7,6 +7,7 @@
 	
 	$rcmail_config = new rcube_config();
 	$config['general.engine'] = $rcmail_config->get('spellcheck_engine') == 'pspell' ? 'PSpell' : 'GoogleSpell';
+	$config['GoogleSpell.rpc_uri'] = $rcmail_config->get('spellcheck_uri');
 	
 	/** end RoundCube specific code */
 

--
Gitblit v1.9.1