看板 PHP 關於我們 聯絡資訊
釋出日期:2009.09.11 SVN Revision:1737 ! Libraries * 新增 Cart Class * File Uploading Class 增加 $config['file_name'] 參數, 可以變更上傳檔案的檔名。 * 更改 user-agents 的清單順序,讓 Safari 可以更精準地被確定。 ! Database * escape() 裡頭用 is_* method 取代 gettype(), 因為未來的 PHP 版本可能會改變這個 output 內容 * 更新所有 database driver,使 escape_str() 可以處理 array * DB driver 增加 reconnect(),可以在一長段 idle 之後 用來試著保持連線或是重新建立連線。 * 增加 escape_like_str():在使用 like 條件的時候可以對字串作 escape 處理 * 用新的 like escape 處理機制,更新 Active Record 的部份。 * 修改 MSSQL 的 driver,使用 mssql_get_last_message() 來取得錯誤訊息 ! Helper * Form helper 增加 form_multiselect() * 修改 Form helper 的 form_hidden(),可以處理多維度的 array * 修改 Form helper 的 form_prep(), keep track of prepped fields to avoid prep/mutation from subsequent calls which can occur when using Form Validation and form helper functions to output form fields. * 修改 Directory helper 的 directory_map(), 可以顯示隱藏檔案、讀目錄出錯會回傳 FALSE * 讓 Smiley helper 可以在輸入多個 field 時正常運作、 以及在最後游標位置插入表情符號的功能。 ! General * 相容於 PHP 5.3.0 * 修改 show_error(),使之回傳 HTTP server 的 response code。 * 修改 show_404(),會送出 404 的 status code、移除 error_404.php template 中與 non-CGI 相容的 header() * Common function 增加 is_php(),好作 PHP 版本的比對 * 增加兩張 CodeIgniter 小抄(感謝 DesignFellow.com) ! Bug Fix * 修正 user guide、example 裡頭各種 typo (#6743, #7214, #7516, #7287, #7852, #8224, #8324, #8349)。 * 修正 Form Validation 當中,多個 callback 敘述不會運作的錯誤 * doctype helper 的預設值總是缺少一個「1」 * 修正 Language class 在找不到檔案室輸出錯誤的錯誤 * 修正 Calendar class 當以短名輸出「May」的錯誤 * 修正 ORIG_PATH_INFO 允許 URI 只有一個「/」 * 修正 Oracle 跟 ODBC driver 發生的 fatal error(#6752) * 修正 xml_from_result() 會檢查一個不存在 method 的錯誤 * 修正當送出多個 field 時,Database Forge add_column 與 modify_column 不會跑迴圈的錯誤 * 修正 File Helper 改使用 DIRECTORY_SEPARATOR 這個常數而不是「/」 * 當嘗試使用 sendmail 但是 server 卻把 PHP 的 popen() 關掉時, 預防 PHP 發生錯誤 * 修正當 PHP 的資料型態不符合 XML-RPC 型態時, 會導致 XML-RPC 資料當中 PHP 發生錯誤的 bug * 修正 XML-RPC class 在 parse dateTime.iso8601 時的錯誤 * xss_clean() 的字串替換改成大小寫有別 * 修正 form_textarea() 在 form data 並沒有正確 prep 時的錯誤 * Fixed a bug in form_prep() causing it to not preserve entities in the user's original input when called back into a form element * 修正 _protect_identifiers() 當 swap prefex($swap_pre) 還沒有被偵測到的錯誤。 * 修正當 400 status header 與「不允許的 URI 字元」一起送出時, 無法與 CGI 環境整合的錯誤 * Fixed a bug in the typography class where heading tags could have paragraph tags inserted when using auto_typography(). ==== 已經逃離 PHP & CI 快三個月啦 \囧/ 加上本來就沒有認真學,所以,有些地方實在不知道怎麼翻譯 還懇請指教 不能免俗地廣告一下: http://pt2wiki.twbbs.org/Wiki.jsp?page=PHP_CI_ChangeLog -- 侃侃長論鮮窒礙 首頁:http://www.psmonkey.idv.tw 眾目睽睽無心顫 Blog:http://ps-think.blogspot.com 煢居少聊常人事 殺頭容易告白難 歡迎參觀 Java 版(@ptt.cc)精華區 \囧/ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 58.114.194.27 ※ 編輯: PsMonkey 來自: 58.114.194.27 (09/15 17:55)
appleboy46 :推 ........ 09/16 00:40
fotofolio :推一下CI真是簡單好用 09/16 06:32
fotofolio :php的jquery 09/16 06:32
PsMonkey :樓上的講法真微妙... ==" 09/16 11:08