- CHG: Removed function runYiiStatics(). Since Yii 1.1.14, you can now set path aliases in your configWeb. Remove calls to runYiiStatics() from your application, and see example-config/main.php for example on how to use aliases.
- REFACTOR: split up setMode(), determine mode in separate function. Also update some docs.
- ADD: optionally override project environment by creating configDir/mode.php with preferred value.
- CHG attention: use getenv() to determine environment mode (works for both webapps and console-apps). See updated instructions, it's not always backwards compatible.
- FIX: incorrectly setting yiic instead of yiit. Made $_mode protected. Reported by glaszig.
- FIX: add type checking when comparing INHERIT_KEY to prevent unexpected copying. Reported by mylonov.
- Separate getConfig() from setEnvironment() to allow extending. Small changes to allow extending.
- No functional change: Fixed incorrect config key in example file.
- Console application support is now optional, you may omit the 'configConsole' key.
- Support for console applications!
- HOW TO UPGRADE: rename key 'config' to 'configWeb' in config files and index files.
- Allow extending Environment class for overriding and extending constants (SERVER_VAR, CONFIG_DIR, MODE_xxx). Added more examples.
- Changed array_replace_recursive() to CMap::mergeArray(), since it wasn't producing expected results. Added showDebug(). Bugfix for PHP<5.3
- Initial release