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

Jan Schneider jan at horde.org
Fri Dec 19 01:47:45 PST 2003


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

> Quoting Jan Schneider <jan at horde.org>:
>
> > > this spawns a few questions:
> > > - as perms are becomming a quite central part of the apps and blocks,
> > > should we
> > > make $perms a global var and set it up in horde's base.php? rather
> than
> > > require_once and singleton() all over the place...
> >
> > I have no strong opinion about this. But it probably makes sense at a
> > certain point.
>
> Putting it in Horde's base.php won't take care of it for all apps (and I
> don't
> think it belongs in core.php). What seems like it might make sense is for
> Registry.php to handle instantiating it, like it does for Prefs. How's
> that
> sound?

Better.

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