Thts exactly what i need and much more elegant, anyhow. Thank you
sir :-)
On Apr 21, 4:32 am, naholyr <[email protected]> wrote:
> I'm not sure that it has existed, but what has always worked is
> creating a "app.yml" in your plugin's config directory. It's merged
> with global config (before your project's one, which is merged before
> your application's one, which means you can overwrite plugin's app.yml
> directives in project's one or application's one).
>
> On 21 avr, 01:04, Ant Cunningham <[email protected]> wrote:
>
> > I could have swore that in some version you could create a plugin.yml
> > file (or maybe it was pluginName.yml) in your Plugin's config dir to
> > sort of use as the base default settings. But I dont see the plugins
> > key anywhere in settings tab in web debug.
>
> > For example if i want to:
>
> > $plugin = sfConfig::get('plugins_myplugin_namespace', array());
> > $app = sfConfig::get('app_myplugin_namespace', array());
>
> > $config = sfToolkit::arrayDeepMerge($plugin, $app);
>
> > Was this never the case, is it just no longer supported, or am I doing
> > something wrong?
>
> > Also what are some alternative ways to accomplish this? Id rather not
> > hardcode the defaults in the directly in the code if i can help it.
> > Also this might require my own config handler?
>
> > thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---