Your Account
Community
Topics (Upcoming)
More |
View story
Yaml (yml) file gotchas - trying to set default culture to “no”
http://feeds.feedburner.com/~r/symfony/planet/~3/287148554/
Submitted by
narko
2 months, 4 weeks, 1 day, 12 hours agoThe yaml file parser will attempt to parse all the values, rather than taking them as they are - which in most cases is a good thing, however you must remember to use quotes when the intended output is a string, and the parser may interpret the value otherwise:
default_culture: en
// No problem, en is treated as a string
// and /en/ is automatically...
Tags: symfony
|