Improper file root
Veggieryan - January 23, 2008 - 21:16
| Project: | OG Files |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | reviewed & tested by the community |
Description
you should not hard code /files in the function og_files_base_path.
Some of us move this to /sites/sitename/files for multisites.
Not sure what to patch since the latest working version at http://drupal.org/node/212572#comment-699916
is full of whitespaces..
so here is the fix:
function og_files_base_path($gid) {
$drupal_files = file_directory_path();
return $drupal_files .'/og_files/'.$gid.'/';
}thanks for a handy little module.

#1
I ran into the same problem. Once I applied the code mentioned above and it fixed the issue for me. I've included a patch against 5.x-1.x-dev
#2
Works great!
Blessings.