CodeIgniter 用户指南 版本 2.2.6

编辑文档、查看近期更改请 登录注册  找回密码
查看原文

Upgrading from 1.6.1 to 1.6.2

Before performing an update you should take your site offline by replacing the index.php file with a static one.

Step 1: Update your CodeIgniter files

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.

Step 2: Encryption Key

If you are using sessions, open up system/application/config.php and verify you've set an encryption key.

Step 3: Constants File

Copy /system/application/config/constants.php to your installation, and modify if necessary.

Step 4: Mimes File

Replace /system/application/config/mimes.php with the dowloaded version. If you've added custom mime types, you'll need to re-add them.

Step 5: Update your user guide

Please also replace your local copy of the user guide with the new version.

 

翻译贡献者: Hex
最后修改: 2009-02-21 23:23:48