Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Fuelphp Controllers Uppercase in URL
  • 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,
         );
  • 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".

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion