Thanks! A

On May 26, 6:31 am, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
> You can put anything you want in your ~/config/bootstrap.php it is
> included automatically on each request.
>
> What I usually do in my bootstrap is:
>
> if (file_exists(CONFIGS.'bootstrap.projectname.php'))
>         include_once(CONFIGS.'bootstrap.projectname.php');
>
> and then just use ~/config/bootstrap.projectname.php for my own stuff.
>
> Another idea might be to use a naming system like
> bootstrap.constants.php, bootstrap.general.php etc..
>
> On May 25, 9:01 pm, august <[EMAIL PROTECTED]> wrote:
>
> > Hello
>
> > I'm a new user, I need to create a place to put globalconfiguration
> > and path values.
>
> > I'm creating a facebook app, so I need values like:
>
> > $FB_APP_NAME = "myfacebookapp";
>
> > Can someone tell me where this should go and what the "require" syntax
> > would look like?
>
> > Thanks,
>
> > August

--~--~---------~--~----~------------~-------~--~----~
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