Re: [Phplib-users] Patch to page.inc
Brought to you by:
nhruby,
richardarcher
From: Giancarlo P. <gia...@na...> - 2002-10-30 09:12:07
|
Isn't this what is actually in the new auth->check_feature() function? I think this is all in the snapshot already. Joe, Tarique, when are we going to make a new distrib out of the snapshot? Gian Benjamin Boksa wrote: > > Hi! > > I patched page.inc as follows to be able to use different auth-types > wihtout changing the session. I wonder if this is useful and I wonder > what you think about this patch: > > *** page.inc.orig Mon Oct 28 16:34:14 2002 > --- page.inc Mon Oct 28 16:35:22 2002 > *************** > *** 22,28 **** > if (isset($feature["auth"])) { > global $auth; > > ! if (!isset($auth)) { > $auth = new $feature["auth"]; > } > $auth->start(); > --- 22,28 ---- > if (isset($feature["auth"])) { > global $auth; > > ! if (!isset($auth) || ($auth->classname != $feature["auth"])) { > $auth = new $feature["auth"]; > } > $auth->start(); > > Regards, > > Benne > > -- > > Benjamin Boksa > b....@si... > > side by site GmbH & Co. KG > Druckgestaltung & Webdesign > > Barbarastr. 3-9 (Block 6) > D-50735 Koeln > > Fon: +49 221 2790964 > Fax: +49 221 2790965 > > http://www.sidebysite.de/ > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phplib-users mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phplib-users |