This fix did not work for me either.. I found that in firefox 3(and possibly earlier versions?) the slashes were still wrong after this fix...but were correct in IE.. the following code change fixed it for me..
basically using browser detection, the code will use the original code for IE but will switch the separator to / in firefox
in init.php, replace lines 178 - 181 with the following code. hopefully this will be a more universal fix.. let me know if it works for you guys too..
$user_agent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '';
if(strpos($user_agent, 'Gecko') !== false)
{
$themes_dir = add_trailing_slash($themes_dir, "/");
$theme_dir = add_trailing_slash($themes_dir . $theme, "/");
$image_dir = add_trailing_slash($theme_dir . $image_dir, "/");
$buttons_dir = add_trailing_slash($image_dir . $buttons_dir, "/");
}
elseif(strpos($user_agent, 'MSIE') !== false)
{
$themes_dir = add_trailing_slash($themes_dir, DIRECTORY_SEPARATOR);
$theme_dir = add_trailing_slash($themes_dir . $theme, DIRECTORY_SEPARATOR);
$image_dir = add_trailing_slash($theme_dir . $image_dir, DIRECTORY_SEPARATOR);
$buttons_dir = add_trailing_slash($image_dir . $buttons_dir, DIRECTORY_SEPARATOR);
}