From 526d170e1d4710aec10bffbae2829a8de6baa1d4 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Mon, 29 Sep 2008 09:36:30 -0400 Subject: [PATCH] - Fix htmleditor spellchecking on MS Windows (#1485397) --- program/js/tiny_mce/plugins/spellchecker/config.php | 2 +- 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 53e6e46..b653dc9 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(); -- Gitblit v1.9.1