Download CodeIgniter 2.1.2 User Guide
Transcript
Environments page. Added support for environment-specific configuration files. Libraries Added decimal, less_than and greater_than rules to the Form validation Class. Input Class methods post() and get() will now return a full array if the first argument is not provided. Secure cookies can now be made with the set_cookie() helper and Input Class method. Added set_content_type() to Output Class to set the output Content-Type HTTP header based on a MIME Type or a config/mimes.php array key. Output Class will now support method chaining. Helpers Changed the logic for form_open() in Form helper. If no value is passed it will submit to the current URL. Bug fixes for 2.0.1 CLI requests can now be run from any folder, not just when CD'ed next to index.php. Fixed issue #41: Added audio/mp3 mime type to mp3. Fixed a bug (Core #329) where the file caching driver referenced the incorrect cache directory. Fixed a bug (Reactor #69) where the SHA1 library was named incorrectly. Version 2.0.0 Release Date: January 28, 2011 Hg Tag: v2.0.0 General changes PHP 4 support is removed. CodeIgniter now requires PHP 5.1.6. Scaffolding, having been deprecated for a number of versions, has been removed. Plugins have been removed, in favor of Helpers. The CAPTCHA plugin has been converted to a Helper and documented. The JavaScript calendar plugin was removed due to the ready availability of great JavaScript calendars, particularly with jQuery. Added new special Library type: Drivers. Added full query-string support. See the config file for details. Moved the application folder outside of the system folder. Moved system/cache and system/logs directories to the application directory. Added routing overrides to the main index.php file, enabling the normal routing to be overridden on a per "index" file basis. Added the ability to set config values (or override config values) directly from data set in the main index.php file. This allows a single application to be used with multiple front controllers, each having its own config values. Added $config['directory_trigger'] to the config file so that a controller sub-directory can be specified when running _GET strings instead of URI segments. Added ability to set "Package" paths - specific paths where the Loader and Config classes should try to look first for a requested file. This allows distribution of sub-applications with their own libraries, models, config files, etc. in a single "package" directory. See the Loader class documentation for more details. In-development code is now hosted at BitBucket. Removed the deprecated Validation Class. Added CI_ Prefix to all core classes. Package paths can now be set in application/config/autoload.php. Upload library file_name can now be set without an extension, the extension will be taken from the uploaded file instead of the given name. In Database Forge the name can be omitted from $this->dbforge->modify_column()'s 2nd 7 z 264 2012-07-10 19:53