filegallery download problem
I have installed Tikiwiki 1.8.3 as a intranet for a small foundation. Everything works perfectly except for the File Gallery. Uploading files is not a problem at all, but when i want to download one of these files I get a "You can not download files" error message.
The group the user is a member of has permission tiki_p_admin_file_galleries and the File Gallery has only global permissions, so the user should be able to download the file. However the user is unable to download a file, neither is the admin able to download a file.
Here is the weird part, when I change line 42 of tiki-download_file.php from
if($tiki_p_admin_file_galleries == 'y') {
to
if($tiki_p_admin_file_galleries == 'n') {
the download is no problem. But now users without proper permissions can also download the file.
Could someone please shed some light on this inconsistency because it is driving me crazy.