Download & Extend

amCharts: wrong url when used with language prefix

Project:Charts and Graphs
Version:6.x-2.7
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

Inspired by http://drupal.org/node/879992

Change #459:

    $file = url(
      "${mod_path}/downloaded/${am_category}.swf",
      array('absolute' => TRUE)
    );

to:

    $file = $base_url .'/'. $mod_path ."/downloaded/${am_category}.swf";

Add #192:

    global $base_url;

Sorry I can't profide patch

Comments

#1

Addition: change all the above in charts_graphs_amcharts.class.inc