Posted by keithvernon on April 2, 2007 at 9:23am
2 followers
Jump to:
| Project: | Amazon associate tools |
| Version: | 5.x-1.5 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
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
#1
Mmm yes this was fixed in 4.7 and so it needs to be ported to 5 as well