CodeIgniter 使用手冊版本 2.2.0


更新 1.3.2 到 1.3.3

注意: 本頁的更新步驟,都是假設你目前使用的是 version 1.3。.2. If you have not upgraded to that version please do so first.

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

步驟一: 更新 CodeIgniter 檔案

Replace the following directories in your "system" folder with the new versions:

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

步驟二: 更新模型(Models)

If you are NOT using CodeIgniter's Models feature disregard this step.

As of version 1.3.3,CodeIgniter does not connect automatically to your database when a model is loaded. This allows you greater flexibility in determining which databases you would like used with your models. If your application is not connecting to your database prior to a model being loaded you will have to update your code. There are several options for connecting, as described here.

步驟三: 更新使用手冊

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