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
routing with variables
diddlside
June 2012
Hello, ive updated my fuel to the newest version. I encountered a problem. I created a path to route which is like this:
[url=
http://portalcms2/server/component/logincenter/logincenter.css]http://portalcms2/server/component/logincenter/logincenter.css[/url]
and the route for that is:
server/component/:component/:file If i want to get file i just get logincenter back
it looks like the extension gets automaticly deleted. Is there way to put enable it or something?
Harro
June 2012
You can not route on extensions. FuelPHP uses segments based URI's, and ignores the extension. Due to a bug this was a possibility in 1.1, which was corrected.
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,088
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
260
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
Harro
June 2012