[dev] patch registry

mailling@bigfoot.com mailling@bigfoot.com
Wed, 01 Aug 2001 10:12:46 -0500


At 10:45 7/30/2001 -0400, you wrote:
>Can you give a little bit more explanation about the context for, affects of,
>and need for this change?

ok
I got a new appli
This appli needs to use his own conf.php
I don't know how you have to do it usually, in my case, I did this in base.php

require_once(HORDE_BASE . '/lib/Registry.php');
$registry = &Registry::singleton();
$registry->pushApp('bookmark');
$conf = &$GLOBALS['conf'];

Now, the issue is this one:
I want to have in conf, a merge of horde/copnf/conf.php and my conf.php
since there was a $conf = array();
the old $conf was removed

>Quoting mailling@bigfoot.com:
>
> > that is a change for importConfig method. That would allow to import
> > different configs, without removing old ones.
> >
> > 532c532,536
> > <         $conf = array();
> > ---
> >  >         global $conf;
> >  >
> >  >           if (!isset($conf))
> >  >               $conf = array();
> >  >
> >
> >
> > --
> > Horde Developers mailing list: http://horde.org/
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: dev-unsubscribe@lists.horde.org
> >
> >
>
>
>-chuck
>
>--
>Charles Hagenbuch, <chuck@horde.org>
>Some fallen angels have their good reasons.
>
>--
>Horde Developers mailing list: http://horde.org/
>Frequently Asked Questions: http://horde.org/faq/
>To unsubscribe, mail: dev-unsubscribe@lists.horde.org