summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-09-29 13:36:30 +0000
committeralecpl <alec@alec.pl>2008-09-29 13:36:30 +0000
commit526d170e1d4710aec10bffbae2829a8de6baa1d4 (patch)
tree3726b35f785715fe83369903d46f7a60ab5fa0cf
parentbf2f39ea6d2b49c7495a43cca19ab18f27f8292e (diff)
- Fix htmleditor spellchecking on MS Windows (#1485397)
-rw-r--r--CHANGELOG1
-rwxr-xr-xprogram/js/tiny_mce/plugins/spellchecker/config.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 8f582c7a2..24bd49adc 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -8,6 +8,7 @@ CHANGELOG RoundCube Webmail
in MS Outlook/OE (#1485320)
- Added "advanced options" feature in User Preferences
- Fix unread counter when displaying cached massage in preview panel (#1485290)
+- Fix htmleditor spellchecking on MS Windows (#1485397)
2008/09/25 (alec)
----------
diff --git a/program/js/tiny_mce/plugins/spellchecker/config.php b/program/js/tiny_mce/plugins/spellchecker/config.php
index 53e6e469f..b653dc900 100755
--- a/program/js/tiny_mce/plugins/spellchecker/config.php
+++ b/program/js/tiny_mce/plugins/spellchecker/config.php
@@ -2,7 +2,7 @@
/** start RoundCube specific code */
- define('INSTALL_PATH', preg_replace('/program\/js\/.+$/', '', getcwd()));
+ define('INSTALL_PATH', preg_replace('/program[\\\\\/]js[\\\\\/].+$/', '', getcwd()));
require_once INSTALL_PATH . 'program/include/iniset.php';
$rcmail_config = new rcube_config();