Now that I'm not in the middle of getting the app read it is a bit funny.
:)
Is it clearly documented to remove this check or just an assumed part of the
process? (once you get familiar with the API) Guess I was expecting
something like: configure::read("debug") > 0
-r
On Sat, Jul 18, 2009 at 6:13 AM, kai <[email protected]> wrote:
>
> it's sort of funny that that was the problem.
>
> On Jul 17, 9:48 am, Robert Edeker <[email protected]> wrote:
> > 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
-~----------~----~----~----~------~----~------~--~---