Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Will this module work if "Private filesystem" is chosen at admin/settings/file-system?
Comment | File | Size | Author |
---|---|---|---|
#9 | advagg-private-1081648-9-D6.patch | 1.86 KB | mikeytown2 |
#8 | advagg-private-1081648-8.patch | 1.01 KB | mikeytown2 |
#7 | advagg-private-1081648-7.patch | 712 bytes | mikeytown2 |
#4 | advagg-1081648-4.patch | 8.95 KB | mikeytown2 |
#3 | advagg-private-1081648-3.patch | 23.58 KB | mikeytown2 |
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedIt could be made to work. Good idea.
Comment #2
mikeytown2 CreditAttribution: mikeytown2 commented@HLopes
I've never dealt with Drupal's private file system. Does it use htaccess rules to limit access to the files directory?
Comment #3
mikeytown2 CreditAttribution: mikeytown2 commentedPrivate file system workaround added in. You need to create a writable directory in your webroot. If you have the cache folder from boost, you can use that.
This is the patch that was applied.
Comment #4
mikeytown2 CreditAttribution: mikeytown2 commenteddid another change in regards to the private file system. This patch has been committed.
Comment #6
HLopes CreditAttribution: HLopes commentedWorks like a charm... Had some issues to install it properly, but it boiled down to a missing variable in page.tpl.php.
You could also add functionality to create the necessary folders at advagg.admin.inc, around line 299, if folders don't exist.
Something like that....
Comment #7
mikeytown2 CreditAttribution: mikeytown2 commentedmind testing this patch?
Comment #8
mikeytown2 CreditAttribution: mikeytown2 commentedbetter patch
Comment #9
mikeytown2 CreditAttribution: mikeytown2 commentedcommitted this patch
Comment #10
HLopes CreditAttribution: HLopes commentedTried the last version, everything OK.
Nice.