Warning! This page has the following tags:
- This page is deprecated, and is only useful for developers using Agavi 0.10.
- This page exists for reference purposes only.
This is a quick-and-dirty way to migrate from the old 0.9 series to the all new 0.10 series.
- Install the latest agavi version (a PEAR pacakage is available from the download page).
- Change the request dispatching lines in index.php
// from $controller = Controller::newInstance('FrontWebController'); $controller->dispatch(); // to Context::getInstance()->getController()->dispatch(); - Backup autoload.ini, compile.conf and config_handlers.ini in the webapp/config and copy over their new versions from the samples directory in your new agavi installation. If you have done any customization to these files original versions, use the Unix diff utility (or a similiar one available for your operating system) to compare the new versions to their respective backups and add any necessary changes ignoring any agavi-related changes.
- Throw away your factories.ini and use contexts.ini instead.
- Make sure you change user parameters in your databases.ini to username.

