CodeIgniter User Guide Version 2.2.6 |
Table of Contents Page |
CodeIgniter Home › User Guide Home › Upgrading from 1.5.4 to 1.6.0 |
Before performing an update you should take your site offline by replacing the index.php file with a static one.
Replace these files and directories in your "system" folder with the new versions:
Note: If you have any custom developed files in these folders please make copies of them first.
Add the following to application/config/config.php with the other session configuration options
$config['sess_time_to_update'] = 300;
Add the following to application/config/autoload.php
/*
| -------------------------------------------------------------------
| Auto-load Model files
| -------------------------------------------------------------------
| Prototype:
|
| $autoload['model'] = array('my_model');
|
*/
$autoload['model'] = array();
Make the following changes to your application/config/database.php file:
Add the following variable above the database configuration options, with $active_group
$active_record = TRUE;
Remove the following from your database configuration options
$db['default']['active_r'] = TRUE;
Add the following to your database configuration options
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";
Please also replace your local copy of the user guide with the new version.
Previous Topic: Installation Instructions · Top of Page · User Guide Home · Next Topic: Troubleshooting
CodeIgniter · Copyright © 2006 - 2014 · EllisLab, Inc. · Copyright © 2014 - 2015 · British Columbia Institute of Technology