Re: [Phplib-users] parse error in auth.inc
Brought to you by:
nhruby,
richardarcher
From: Marco <new...@dk...> - 2002-07-31 23:13:00
|
Hi Peter, I looked in my local.inc. I've found some different extensions of the Auth class (to test some different kinds of logins). But all of them have a $database_call = "DB_Example"; in it. I think this should be ok. Marco Peter Kursawe wrote: >Hi Marco, > > >>I don't know if it is or not. I simply want to "auto_prepend" my >>prepend.inc in php3.ini. I changed nothing in the source file so I think >>it should work as is, isn't it? >> > >it should, but too often the "should's" do not work ;-) > >Usually you extend the Auth-Class in the local.inc. AFAIK the standard has a local.inc and it is included in the >prepend.php3 >Examine the local.inc and look into > >class Auth_Example extends Auth { ... > >for the statement > >var $database_class = "xyz"; > >(the xyz is something else, usually it is "DB_Example") > >You have to adopt the complete local.inc to your local circumstances. > >HTH Peter Kursawe > |