err. That was stupid. I just re-opened the ctp and noticed this little
jem. I forgot that I copied it from the stock home.ctp and wasn't quite
sure what it was for so I left it in.. (didn't realize that was checking
for debug)
whoops.
if (Configure::read() == 0):
$this->cakeError('error404');
endif;
On Fri, Jul 17, 2009 at 12:34 PM, Robert Edeker <[email protected]> wrote:
> So should I name that page differently ("main.ctp/index.ctp") then tell the
> default router to go there instead? I basically just want a front splash
> page with the application's title and a few links to controllers.
>
>
> On Fri, Jul 17, 2009 at 12:09 PM, Gwoo <[email protected]> wrote:
>
>>
>> Look in pages/home.ctp. The debug check was added because too many
>> applications forgot to remove home.ctp.
>>
>>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---