RE: [Phplib-users] What is the 'standard phplib install'?
Brought to you by:
nhruby,
richardarcher
From: Brian P. <bp...@ct...> - 2001-09-10 15:47:07
|
I don't think this is a problem. I always create a separate, customized 'local.inc' for each one of my applications. You just need to rename it and then manually include it at the top of every page. I usually create a globals.php file for every application where I define project variables. Then I include my custom 'local.inc' file from there. Then I just include the globals.php file at the top of every page. You also have to make sure you rename all the classes (Example_Auth, Example_Perm, Example_Sess, etc.) so they don't conflict with the 'local.inc' file that gets included in your prepend.inc file. Let me know if you have any questions. BPopp - bpopp.net -----Original Message----- From: Jesse Swensen [mailto:ph...@sw...] Sent: Monday, September 10, 2001 10:27 AM To: php...@li... Subject: Re: [Phplib-users] What is the 'standard phplib install'? I agree. Local.inc becomes a problem when you have multiple applications you want to segregate the parts. The auto prepend and the local.inc should be application specific or at least have the ability to be application specific. -- Jesse > From: "nathan r. hruby" <na...@ds...> > Date: Mon, 10 Sep 2001 11:16:41 -0400 (EDT) > To: Richard Archer <rh...@ju...> > Cc: <php...@li...> > Subject: Re: [Phplib-users] What is the 'standard phplib install'? > > The current local.inc is a bit loaded, but as all app writers know, we > don't care about local.inc becasue we can use our own custom subclasses :) > I think that, if anything, local.inc should be killed in favor of site and > app specfic config files defining what's needed. _______________________________________________ Phplib-users mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phplib-users |