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
Fuelphp Controllers Uppercase in URL
paullb
April 2016
Using Fuelphp 1.7 the URLs only seem to work in upper case.
For example the following controller only works on the following url
>
http://www.example.com/Index/test/
and doesn't work on the following url (which I would expect would work)
>
http://www.example.com/index/test/
Here is the controller code:
class Controller_Index extends Controller
{
public function action_test()
{
echo 'here';
die();
}
}
I tried setting case_sensitive to false
'routing' => array(
/**
* Whether URI routing is case sensitive or not
*/
'case_sensitive' => false,
);
Harro
April 2016
What name did you give the file that contains this controller, "Index.php" (with a capital) by any chance?
See
http://fuelphp.com/docs/general/coding_standards.html
, under "File naming".
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
April 2016