No controller. If anything it "belongs to" the dispatching and routing
part (the part that chooses the correct controller to run)

index.php is the entry-point for all requests to the application. It
starts the router and dispatcher and they look at what "url" you want
and figures out which controller and action to call. You never modify
or in any way make use of the code in index.php from your application.
Your application is "run by" index.php

The "index" of your application is set in app/config/routes.php by
connecting the url "/" to something. By default it is connected to the
pages controller and the view action, displaying the "home.ctp" view.

Does that explain is a little?
Martin

BTW: If you see index.php?.... you are not using url rewriting. You
probably want to so look into that.



On Jan 8, 1:18 pm, Steppio <[email protected]> wrote:
> Silly question by a silly question but to which controller does
> index.php belong to? As inwww.website.com/index.php?
>
> Sorry if it seems a tad basic but it's been bugging me awhile now
>
> Thank you in advance for your time!
>
> Ste
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to