Welcome Guest, Not a member yet? Register   Sign In
Routes- Today i died
#2

It sounds like you jumped in without reading the docs, or at least the right part of the docs. The user guide tutorial takes you through a complete simple app.

The "default controller" is the name of the controller to look for if a controller is not specified in the URL; it is *not* the name of a subdirectory, nor is "public" the location of any controllers, nor is it a routing specification.

What does go in "public" is the "front controller", index.php. This is not a true controller - it is some PHP logic to bootstrap the framework and trigger the framework's routing etc. This is standard practice. I know of no framework which behaves the way you describe Sad
Reply


Messages In This Thread
Routes- Today i died - by 5flex - 09-18-2019, 07:13 AM
RE: Routes- Today i died - by ciadmin - 09-18-2019, 07:43 AM
RE: Routes- Today i died - by includebeer - 09-18-2019, 11:21 AM
RE: Routes- Today i died - by Yuriy - 09-18-2019, 12:58 PM
RE: Routes- Today i died - by unromantic - 09-18-2019, 03:09 PM
RE: Routes- Today i died - by ciadmin - 09-18-2019, 05:50 PM
RE: Routes- Today i died - by Yuriy - 09-19-2019, 01:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB