Monday, August 3, 2009

Re: Change default start opage with cakephp

On 8/3/2009 4:21 PM, Abraham Boray wrote:
> Exactly what I needed ,but in this case I'm not dealing with Apache
> Server , I want to achieve that with CakePHP core !!
> It may be there some function or trick to perform in order to make
> INDEX.HTML my startup page =)
>
Custom route perhaps?

Router::connect('/index.html', array('controller' =>
'your_controller_here', 'action' => 'your action'));

More detailed info about what you're trying to do would be nice too :-)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: