summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-09-29 13:36:30 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-09-29 13:36:30 +0000
commit90d57e3ec38f642a3030b4c35769426fbee9d52f (patch)
treeef6aca9063c8efec4da3ecac2d467735a21e2e10
parent3bf10e72144f2eb0a3d59fb9c9bc23a80cc2e413 (diff)
- Fix htmleditor spellchecking on MS Windows (#1485397)
git-svn-id: https://svn.roundcube.net/trunk@1901 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/CHANGELOG1
-rwxr-xr-xroundcubemail/program/js/tiny_mce/plugins/spellchecker/config.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/roundcubemail/CHANGELOG b/roundcubemail/CHANGELOG
index 8f582c7a2..24bd49adc 100644
--- a/roundcubemail/CHANGELOG
+++ b/roundcubemail/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/roundcubemail/program/js/tiny_mce/plugins/spellchecker/config.php b/roundcubemail/program/js/tiny_mce/plugins/spellchecker/config.php
index 53e6e469f..b653dc900 100755
--- a/roundcubemail/program/js/tiny_mce/plugins/spellchecker/config.php
+++ b/roundcubemail/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();