There is another way to get the environment name. This is a little more OO friendly for those of us who prefer to avoid globally defined constants, but I'm not quite sure how to do this:
$myEnvName = $zendApplicationInstance->getEnvironment();
The question is how to get a link to $myEnvName - suggestions are welcome.
Memethief
source share