force_download does not work in controller |
Yes you can use it on a controller... In fact that's exactly where it should happen: https://codeigniter.com/user_guide/helpe...e_download
Remember to set that before any output is being done.
Best regards,
José Postiga Senior Backend Developer |
Messages In This Thread |
force_download does not work in controller - by cupboy - 03-30-2016, 03:13 PM
RE: force_download does not work in controller - by josepostiga - 03-31-2016, 01:26 AM
|