> You do not need to do an include or require. Symfony autoloads config 
> files into its sfConfig object. All you need to do is place it in root/lib 
> if you want it availabel through the project or in root/apps/frontend/lib 
> if you want only in that application or lastly in 
> root/apps/frontend/modules/modulename/config for a specific module even.


I'm using symfony 1.4, and that doesn't seem to work for me.  Perhaps I am 
missing something obvious.

I create a custom states.yml file that I placed in:
apps/frontend/modules/secure/config

I tried to access it with sfConfig as sfConfig::get( "states_canada" ), 
where "canada" is a header within my states.yml file.  But I get an empty 
value as a result.

I checked my /cache/frontend/dev/config dir and don't see the cache file for 
the states.yml file anywhere.  The only things I see are 
modules_secure_config_filters.yml.php
modules_secure_config_module.yml.php
modules_secure_config_security.yml.php
modules_secure_config_view.yml.php

But nothing with my states.yml.php file in it.

Do I have to "tell" symfony that I have added an extra yml file?  I've done 
a symfony cc just to be safe, but no difference.

Thanks,

Eric 



-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to