Internationalization issue and fix

Aaron Hawkins - April 19, 2008 - 07:15
Project:Chili Highlighter
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

Line 13 "'". url($path) ."/';" picks up the language code from the url on multilingual sites. A better way to achieve the same result without picking up the language is the following alteration:

"'".check_url($base_path).$path."/';"

 
 

Drupal is a registered trademark of Dries Buytaert.