incubator-zeta-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Pic <james...@gmail.com>
Subject Re: [zeta-dev] Configuration component override mechanism : requirement doc
Date Mon, 16 Aug 2010 15:52:10 GMT
On Mon, Aug 16, 2010 at 3:47 PM, Jerome Renard <jerome.renard@gmail.com> wrote:
> Jame,s
>
> On Mon, Aug 16, 2010 at 3:27 PM, James Pic <jamespic@gmail.com> wrote:
>> Hello Jerome,
>>
>> ie.
>>
>> $final = ezcConfigurationMerger::merge(array(
>>   $parent,
>>   // [...]
>>   $child,
>> ));
>>
>
> I would not use an array here, but only 2 arguments, like $parent and $child.
>

I though you wanted to have configuration in multiple directories? ie.

array( // in order of importance
    '/path/to/project/etc/dev',
    '/path/to/app1/etc/dev',
    '/path/to/app1/etc/default',
    '/path/to/app2/etc/dev',
    '/path/to/app2/etc/default',
)

Didn't what you want look like something like that?

-- 
http://jamespic.com/contact
Customer is king - Le client est roi - El cliente es rey.

Mime
View raw message