Active
Project:
Amazon associate tools
Version:
5.x-1.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2007 at 09:23 UTC
Updated:
2 Apr 2007 at 16:04 UTC
I saw that the latest fix was to add a leading slash in front of $module_dir. That only seems to work if drupal is the DocumentRoot. Doesn't it need to have the base_path() inserted in place of the leading slash ?
<img src=\"".base_path()."$module_dir/images/rating$node->rating.gif\" .......
<img src=\"".base_path()."$module_dir/images/rating$selected_book->rating.gif\" ......
Comments
Comment #1
Timotheos commentedMmm yes this was fixed in 4.7 and so it needs to be ported to 5 as well