diff options
author | alecpl <alec@alec.pl> | 2008-09-29 13:36:30 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-09-29 13:36:30 +0000 |
commit | 526d170e1d4710aec10bffbae2829a8de6baa1d4 (patch) | |
tree | 3726b35f785715fe83369903d46f7a60ab5fa0cf | |
parent | bf2f39ea6d2b49c7495a43cca19ab18f27f8292e (diff) |
- Fix htmleditor spellchecking on MS Windows (#1485397)
-rw-r--r-- | CHANGELOG | 1 | ||||
-rwxr-xr-x | program/js/tiny_mce/plugins/spellchecker/config.php | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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();
|