RE: [Phplib-users] Installation in hosted environment
Brought to you by:
nhruby,
richardarcher
From: Richard A. <rh...@ju...> - 2002-10-09 13:30:19
|
At 15:24 -0400 8/10/02, Rob Hutton wrote: > Agreed, but his statement was that he did not want to append 60K of >unneeded code, insinuating that there was a way of making it findable as >needed. I was referring to the way prepend.php3 includes db_mysql.inc, ct_sql.inc, session.inc, auth.inc, perm.inc and user.inc when it's called. Even if you only need the db class. I personally find this a little inelegant and prefer to have a different prepend file for each site. I often merge these "require" statements into local.inc along with a swag of other common code for the app. Or for small sites I just do without the prepend and explicitly include the class files I need. Of course I know exactly where phplib is installed on my system, and there's no nasty admin going to move it behind my back. ...R. |