I've had that problem as well, albeit not in a batch script..
For some reason it worked when I added another level to the
configuration, such as:

all:
  settings:
    my_key:  something

That is accessible as sfConfig::get("mod_settings_my_key");
Bothers me a little, so if anybody knows why that is..

Hope that helps,
Daniel


On Mar 3, 1:16 pm, Eno <[EMAIL PROTECTED]> wrote:
> In order to keep all settings related to a plugin inside the plugin's
> folder I created a module.yml file in plugins/myplugin/modules/
> mypluginmodule/config/module.yml.
>
> I am now trying to read that setting in a batch script but Im not
> getting a value back from sfConfig::get() - any ideas on what I should
> look at?
>
> I created the setting under the "all" key:
>
> all:
>   my_key: blahblah
>
> And in my batch script I try to read it:
>
> echo sfConfig::get('mod_my_key');
>
> I dont get any output at all.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to