216 views
Get the working symfony environment
It is very easy to get the active symfony environment:
PHP
- // Gets the symfony environment and stores it in $sfEnvironment
- $sfEnvironment = sfConfig::get(’sf_environment’);
Submitted by miguelSantirso about 1 year ago — last modified less than a minute ago