[cvs] commit: horde/lib Registry.php
Chuck Hagenbuch
chuck at horde.org
Mon May 5 17:09:57 PDT 2003
chuck 2003/05/05 16:09:56 PDT
Modified files:
lib Registry.php
Log:
Move the code that starts the session to before registry.php is
included. Because of our new session flags, this seems okay since we
can *not* start a session but still get a registry object by passing
in HORDE_SESSION_NONE.
This DOES mean that Horde's conf.php file will be included before
registry.php gets included. The tradeoff is that in exchange, you can
check authentication values in registry.php. BUT, not in Horde's
conf.php. I'm not entirely sure how I feel about this; the only
workaround is to include Horde's conf.php twice, or to forget setting
up a session handler in Horde (and make it be external to Horde).
Right now, I'm thinking that it's more valuable to be able to check
things in registry.php than in conf.php. Feedback?
Revision Changes Path
1.151 +37 -46 horde/lib/Registry.php
Chora Links:
http://cvs.horde.org/diff.php/horde/lib/Registry.php?r1=1.150&r2=1.151&ty=u
More information about the cvs
mailing list