Closed (fixed)
Project:
Aggregation
Version:
5.x-4.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2008 at 16:37 UTC
Updated:
19 Sep 2008 at 11:03 UTC
Not sure if there is something unusual about my installation, but I find that aggregation item images are being saved into files/files/images rather than files/images.
I can fix the problem by removing the call to file_directory_path() on line 1447, so this
if (file_put_contents(file_directory_path().'/'.$newfile, $data) == 0)
becomes
if (file_put_contents($newfile, $data) == 0)
I think this is logical, as we've already done all the work to generate a valid filename on line 1437's call to _image_filename().
Comments
Comment #1
Ashraf Amayreh commentedFixed in 4.5