How to detect your Symfony environment March 17, 2009 symfony environment symfony sfConfig::get('sf_environment');