841 visitas
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’);
Enviado por miguelSantirso hace over 2 years — modificado por última vez hace less than a minute