--
Tilen Majerle
2010/10/25 WhyNotSmile <sharongilmore78@gmail.com>
I know I'm missing something simple here, but I'm trying to make a
file downloadable from my cakePHP site... I can show the link to the
file, which (after uploading to the server via FCK) is domain.co.uk/
userfiles/filename.pdf
When I right-click, I can save the file, but when I left-click, it
tries to re-direct and i get an error saying
Error: UserfilesController could not be found.
So, basically, it's trying to route to the controller userfiles, which
doesn't exist because it's just a folder.
How do I tell it to ignore that and just give the option of
downloading the file?
Thanks.
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment