I just stated to get familiar with Zend Framework 1.12 and I don't understand how the dispatching of the application environment should work. In the Zend Framework index.php I can see:
// Define application environment
defined('APPLICATION_ENV')
|| define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production'));
When I var_dump(getenv('APPLICATION_ENV')) I get "bool(false)". So I really don't get it how Zend would know that it should use the development environment instead of the production environment. I would expected something like that:
defined('APPLICATION_ENV')
|| define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? 'development' : 'production'));
Many thanks for your help.