symfony-users  

[symfony-users] Environment dependent settings in view.yml

Marijn
Sun, 30 Mar 2008 02:28:46 -0700

Hi everybody,

Is it possible to set configurations depending on the type of
environment in view.yml like this:

prod:
  javascripts:
    - '/js/myJavaScript.js'

prod:
  javascripts:
    - '/js/src/myJavaScript.js'

all:
  #all the other stuff...

This would really be nice. I could just set PHP in my YML file which
would check the environment but since I have quite a lot of javascript
and css files that I keep in two versions that really makes the YML
file quite unpleasant to read.

Thanks,

Marijn
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---