[dev] Re: [cvs] commit: horde/lib Registry.php

Jan Schneider jan at horde.org
Tue May 6 02:37:15 PDT 2003


Zitat von Chuck Hagenbuch <chuck at horde.org>:

> 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?

I just looked through our current conf.php to be sure but I didn't find
anything that might be useful depending on authentication information.
So, yes, it makes sense.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list