Multi-Word controller names on case sensitive systems

I’m currently on linux and some of my url’s aren’t working anymore because of the controller names:

File: MyCustomController.php

Controller class name: MyCustomController

=

Doesn’t work

File: MyCustomController.php

Controller class name: MycustomController

=

works

Is there any way to get the first example working? It’s just ugly to break the naming convention.

Hey!

Keep your controller naming convenction…

For example "MyCustomController" and "MyAction"

And change the links from:

MyCustom/MyAction

to

my-custom/my-action

You can read it here:

http://www.yiiframework.com/doc-2.0/guide-structure-controllers.html

Headline: "Controller Class Naming"

Regards

That worked, thanks. :)