summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
Diffstat (limited to 'program/js')
-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();