Hi all, I have a question regarding the assets. I wanna insert in my site a PDF file, so I created a new folder and putted the file in:
/assets/pdf/mypdf.pdf
How can I get the file path in my application?
I tried with:
Asset::add_path('assets/pdf/');
$path = Asset::get_file('myfile.pdf', 'pdf');
without success. Can you help me?
Asset currently doesn't have support for other subfolders then img, js and css.
But this sounds like a useful addition, could you create a ticket for this at http://github.com/fuel/core/issues, with a use-case?