i think i actually resolved it, deleting the whole line didnt work.
original line
if ($attachment && ($groupPermission || ($groupPermission && $userPermission)) && $permission['dlattachment']) {
modification i made
if ($attachment) {
i removed:
&& ($groupPermission || ($groupPermission ...
Search found 2 matches
- Fri Feb 20, 2015 12:56 am
- Forum: General discussions
- Topic: Attachment Viewing as Anonymous Issue
- Replies: 2
- Views: 2747
- Fri Feb 20, 2015 12:06 am
- Forum: General discussions
- Topic: Attachment Viewing as Anonymous Issue
- Replies: 2
- Views: 2747
Attachment Viewing as Anonymous Issue
I am having a "issue" i believe, or maybe its by design, im not sure.
i would like anonymous users to be able to view/download jpg attachments.
I dug around, found a post saying to remove this line from attachment.php
https://github.com/thorsten/phpMyFAQ/blob/2.8/phpmyfaq/attachment.php#L83
I ...
i would like anonymous users to be able to view/download jpg attachments.
I dug around, found a post saying to remove this line from attachment.php
https://github.com/thorsten/phpMyFAQ/blob/2.8/phpmyfaq/attachment.php#L83
I ...