¿Eres nuevo? ¡Lee el FAQ y ponte al día!
841 visitas

Get the working symfony environment

It is very easy to get the active symfony environment:

PHP
  1. // Gets the symfony environment and stores it in $sfEnvironment
  2. $sfEnvironment = sfConfig::get(’sf_environment’);
  3.  

­

Etiquetas: PHP symfony sfconfig

Insertar: