Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Secured Files + PDF generation


Go to End


644 Views

Avatar
mishell

Community Member, 19 Posts

1 November 2011 at 6:55am

Hello

First of all I would like to thank for awesome module secure files. Works like a charm, except of PDF generation. I understand that files are put thru controller and displayed in page.

How could I get the file normal way? only in one case, when I want to use those files in my PDF file?

What want to achieve is

 public function generatePDF() { disable_secure_files(); generate_pdf(); (here some pdf library can't get image couse of secure files) enable_secure_files_one_more_time();

Please any kind of help would be much appreciated.