From 526d170e1d4710aec10bffbae2829a8de6baa1d4 Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 29 Sep 2008 13:36:30 +0000 Subject: - Fix htmleditor spellchecking on MS Windows (#1485397) --- program/js/tiny_mce/plugins/spellchecker/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/js/tiny_mce/plugins/spellchecker/config.php') 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(); -- cgit v1.2.3