Environment class for Yii, used to set configuration for console and web apps depending on the server environment