symfony
symfony forum
Home » support » General discussion » [SOLVED] config handler on module level
[SOLVED] config handler on module level [message #28830] Wed, 06 June 2007 14:46
pezetgee
Messages: 734
Registered: March 2006
Faithful Member
I'm using set of yml files for an additional config, all handled by sfDefineEnvironmentConfigHandler.

my config_handlers.yml:
config/my_settings.yml:
  class:  sfDefineEnvironmentConfigHandler
  param:
    prefix: my_glob_settings_

modules/*/config/my_settings.yml:
  class:  sfDefineEnvironmentConfigHandler
  param:
    prefix: my_mod_settings_
    module: yes


The config/my_settings.yml file is being parsed and cached nicely, however I cannot get it to work on the module level.

I haven't been dealing with the config handlers before, can anyone point to a solution?


[EDIT:]
Problem solved, caused by a missing slash in function returning full path to the module's yml file

[Updated on: Wed, 06 June 2007 15:10]

Previous Topic:Tooltip in AJAX list
Next Topic:ezPDO
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software