Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Access file as controller
Does anyone know how to access a file as controller? /sitemap.xml Goes to: ? /classes/controllers/sitemapxml.php Or: ? /classes/controllers/sitemap_xml.php I can do this in a route but is there a native flow way of ending up at the controller?
Can't tell you exactly how, but I'm sure it can be done using .htaccess to rewrite /sitemap.xml to a controller.
Thx anyway, I want to share a pierce of code with everybody. Maybe also handy to someone...
Add a Comment
It looks like you're new here. If you want to get involved, click one of these buttons!
Apply for Membership
↳ Job Board
↳ Installation & Setup
↳ Tips and Tutorials
↳ Code share
In this Discussion