Path for ratings images
keithvernon - April 2, 2007 - 09:23
| Project: | Amazon associate tools |
| Version: | 5.x-1.5 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
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\" ......

#1
Mmm yes this was fixed in 4.7 and so it needs to be ported to 5 as well