CodeIgniter 使用手冊版本 2.2.0


更新 1.5.3 到 1.5.4

在準備更新之前,你應該把 index.php 換成靜態檔,這樣即可暫時休站。

步驟一: 更新 CodeIgniter 檔案

把 system 目錄中的這些檔案換上新的版本:

注意: 如果之前在這些目錄裡頭,有任何你自己所開發的檔案,請記得要複製進去。

步驟二: 增加 charset 到 config.php 裡頭

Add the following to system/application/config/config.php

/*
|--------------------------------------------------------------------------
| Default Character Set
|--------------------------------------------------------------------------
|
| This determines which character set is used by default in various methods
| that require a character set to be provided.
|
*/
$config['charset'] = "UTF-8";

步驟三: Autoloading language files

If you want to autoload any language files,add this line to system/application/config/autoload.php

$autoload['language'] = array();

步驟四: 更新使用手冊

也請別忘了把 local 的使用手冊換上新的版本。