Closed (fixed)
Project:
Ubercart Affiliate v2
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2009 at 22:18 UTC
Updated:
16 Feb 2009 at 16:50 UTC
I discovered this because on my site I use a different directory the problem is on line 413:
$image = $GLOBALS['base_url'] .'/files/'. rawurlencode(basename($product->field_image_cache[0]['filepath']));
I changed it to:
$image = $GLOBALS['base_url'] .'/' . file_directory_path() . '/'. rawurlencode(basename($product->field_image_cache[0]['filepath']));
I'd go in and modify this myself except I do not have the authority to do it!
Thanks,
Scott
Comments
Comment #1
keptin-1 commentedI should clarify - I changed this on my site but can't change it in the CVS repository. :)
Comment #2
bojanz commentedThanks keptin. Fixed in CVS.
Bojan