Ok, that was the solutions I considered as this functionality does not seem to be implemented. I wanted to be sure I didn't missed something.
I think it could be interesting to create a Jira entry as this functionality could be really useful.
Thanks for your responses.
Loïc.
--
Loïc Frering
128, rue Marius Berliet
69008 Lyon
0 954 954 786
06 48 08 67 79
loic.frering@gmail.com
On Mon, Jan 11, 2010 at 4:33 PM, Jurian Sluiman <subscribe@juriansluiman.nl> wrote:
As far as I know there are three options you have:
1) Create your own navigation resource, overloading the zend navigation
resource. It supports an additional parameter (e.g. configPath) and is able to
load that config as its own Zend_Config instance
2) Extend Zend_Application to be able to pass an array of config files
3) Merge configs manually.
I use the third option for my multiple website application. Each website
(index.php) has it's own config file which is merged with the application's
config file. The merged instance is passed to the Zend_Application constructor.
--
Jurian Sluiman
CTO Soflomo V.O.F.
http://soflomo.com
On Monday 11 Jan 2010 16:19:13 Loïc Frering wrote:
> Hi,
>
> I would like to separate my application configuration into multiple ini
> files. It seems that it is not possible for now as Zend_Applicator only
> accepts a string path to a config file, a Zend_Config object or an array of
> options.
>
> Is this limitation known ? Maybe I missed something... I'd particularly
> like to separate my navigation resource configuration which is quite
> verbose from the rest of the configuration.
>
> If this functionality seems pertinent, I could create an Jira entry for
> that
>
> :)
>
> Regards.
--
Loïc Frering
128, rue Marius Berliet
69008 Lyon
0 954 954 786
06 48 08 67 79
loic.frering@gmail.com
没有评论:
发表评论