diff options
author | thomascube <thomas@roundcube.net> | 2006-09-24 20:15:51 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2006-09-24 20:15:51 +0000 |
commit | 6b47de3f49e880f08fa4a9226e70d18129095306 (patch) | |
tree | 292ae8ca9f101e17dfcd0494eceb0965669a5370 /program/include/main.inc | |
parent | 63583192f238dfb49152f6f470988d36366aa44b (diff) |
Partial client re-write with a common list class
Diffstat (limited to 'program/include/main.inc')
-rw-r--r-- | program/include/main.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/main.inc b/program/include/main.inc index c6e9857b0..b2e83b767 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -365,7 +365,7 @@ function load_gui() // add common javascripts $javascript = "var $JS_OBJECT_NAME = new rcube_webmail();\n"; - $javascript .= "$JS_OBJECT_NAME.set_env('comm_path', '$COMM_PATH');\n"; + $javascript .= sprintf("%s.set_env('comm_path', '%s');\n", $JS_OBJECT_NAME, str_replace('&', '&', $COMM_PATH)); if (isset($CONFIG['javascript_config'] )){ foreach ($CONFIG['javascript_config'] as $js_config_var){ |