Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
General
Access file as controller
Mike
January 2011
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?
Jelmer Schreuder
January 2011
Can't tell you exactly how, but I'm sure it can be done using .htaccess to rewrite /sitemap.xml to a controller.
Mike
January 2011
Thx anyway, I want to share a pierce of code with everybody. Maybe also handy to someone...
http://fuelphp.com/forums/topics/view/200
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,089
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
261
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
Jelmer Schreuder
January 2011
Mike
January 2011