Re: [Phplib-users] What is the 'standard phplib install'?
Brought to you by:
nhruby,
richardarcher
From: Layne W. <la...@if...> - 2001-09-10 16:16:37
|
> 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. It is absurd to have server-wide prepend.inc and local.inc files in a multiple site/app environment. You are including files that you may not use and defining classes that you know you won't use - I cannot justify that performance hit on each page call. Layne Weathers Ifworld Inc |