Yes you can set the default controller and action right there in routes.php.
Look for an area that looks like this
Router::connect('/', array('controller' => 'pages', 'action' =>
'display'));
----------------
Femi T
On Thu, Jan 8, 2009 at 1:48 PM, Steppio <[email protected]> wrote:
>
> Yeah that helps a little, the question mark was a typo ;P. So I could,
> in theory, set my index to anything in routes.php?
>
> On Jan 8, 12:34 pm, Bernardo Vieira <[email protected]> wrote:
> > To none really.
> >
> > Steppio 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
-~----------~----~----~----~------~----~------~--~---