This is documentation for Kohana v2.3.x.

Table of Contents
StatusDraft

2.0 to 2.1 Upgrading

There are a number of changes to the main 'index.php' file and the 'config.php' system file. The quickest way to upgrade is make a backup of your 'index.php' and your application 'config.php' file. Call the backups file_name_version.of.Kohana. e.g. index.php_2.0.

You could consider naming your system folder with the version number: 'system_2.1.1' rather than copying the new one over the top. You can then simply revert to a previous version if there are any issues.

Install the new 'index.php' and 'application/config.php' files, and update any values in them to reflect the changes you made in your original files. The '$kohana_system' should point to the new versioned system folder.

Then continue with the changes in other files (if needed) stated below.

This method is more reliable than making incremental changes to existing files based on a list - and you can simple swap back to the old version if things go wrong.

Configuration

Helpers

Validation

Database

Deprecated stuff