[新聞] CodeIgniter v2.0.1 Released

Announcement
CodeIgniter 所有重要公告,會不定時公佈。請隨時注意,以及新人必看!
版面規則
(請使用接收正常的郵件帳號申請註冊,此區僅供瀏覽,本區進站必看。)
(請會員盡量不要使用免費郵件註冊。)
(請使用 gmail 或者學術網路信箱…等可認證信箱)
系統管理員
頭像
文章: 521
註冊時間: 2009年 4月 28日, 19:47
來自: 台灣高雄

[新聞] CodeIgniter v2.0.1 Released

文章appleboy » 2011年 3月 19日, 17:08

中文版: http://codeigniter.org.tw/user_guide/changelog.html

Version 2.0.1

Release Date: March, 15, 2011
Hg Tag: v2.0.1

General changes

    Added $config['cookie_secure'] to the config file to allow requiring a secure (HTTPS) in order to set cookies.
    Added the constant CI_CORE to help differentiate between Core: TRUE and Reactor: FALSE.
    Added an ENVIRONMENT constant in index.php, which affects PHP error reporting settings, and optionally, which configuration files are loaded (see below). Read more on the Handling Environments page.
    Added support for environment-specific configuration files.

Libraries

    Added decimal, less_than and greater_than rules to the Form validation Class.
    Input Class methods post() and get() will now return a full array if the first argument is not provided.
    Secure cookies can now be made with the set_cookie() helper and Input Class method.
    Added set_content_type() to Output Class to set the output Content-Type HTTP header based on a MIME Type or a config/mimes.php array key.
    Output Class will now support method chaining.

Helpers

    Changed the logic for form_open() in Form helper. If no value is passed it will submit to the current URL.

Bug fixes for 2.0.1

    CLI requests can now be run from any folder, not just when CD'ed next to index.php.
    Fixed issue #41: Added audio/mp3 mime type to mp3.
    Fixed a bug (Core #329) where the file caching driver referenced the incorrect cache directory.
    Fixed a bug (Reactor #69) where the SHA1 library was named incorrectly.
最後由 appleboy 於 2011年 4月 11日, 11:26 編輯,總共編輯了 2 次。
理由: 全域公告

回到 系統公告區

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客