summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-02-03 11:12:35 +0000
committerthomascube <thomas@roundcube.net>2012-02-03 11:12:35 +0000
commitfc7b5b8283173ebb5209da124e5b283e5b86dfa7 (patch)
tree644a09bf21831f5a7079dfef7d5d3a68dd0dd95a /program/include/main.inc
parent43875379d5fcfc4e4d29e2edcbbed614a2050f7d (diff)
Get rid of global $__skin_path variable (#1488336)
Diffstat (limited to 'program/include/main.inc')
-rw-r--r--program/include/main.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index 8b935c1f3..35c2df4c7 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -1379,8 +1379,8 @@ function rcube_html_editor($mode='')
$RCMAIL->output->add_script(sprintf("rcmail_editor_init(%s)",
json_encode(array(
'mode' => $mode,
- 'skin_path' => '$__skin_path',
'lang' => $lang,
+ 'skin_path' => $RCMAIL->output->get_skin_path(),
'spellcheck' => intval($RCMAIL->config->get('enable_spellcheck')),
'spelldict' => intval($RCMAIL->config->get('spellcheck_dictionary')),
))), 'foot');