summaryrefslogtreecommitdiff
path: root/program
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 /program
parentbf2f39ea6d2b49c7495a43cca19ab18f27f8292e (diff)
- Fix htmleditor spellchecking on MS Windows (#1485397)
Diffstat (limited to 'program')
-rwxr-xr-xprogram/js/tiny_mce/plugins/spellchecker/config.php2
1 files changed, 1 insertions, 1 deletions
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();