Welcome Guest, Not a member yet? Register   Sign In
BaseController and controller documentation mismatch

Yes, I know. But I do not see any benefit of doing so. Calling ucfirst on something is not better than just keeping it. The segments, e.g. names of the controller, are stored in the case-sensitive section of the URL. There is no reason (at least I do not know) to modify that section during internal processing. If the user (or programmer of the website) made a spelling mistake, it does not work. Changing this (from my current knowledge) to something randomly chosen does not make things better. If website designer forgot to name the controller or directory correctly it will not work either, now.

I just do not understand why it is necessary or where is the benefit of calling ucfirst on controller names and their directories.

Messages In This Thread
RE: BaseController and controller documentation mismatch - by HardyW - 04-18-2020, 11:37 PM

Theme © iAndrew 2016 - Forum software by © MyBB