PHP 框架 CodeIgniter 3.1.7 发布,包含变更和错误修复

栏目: 软件资讯 · 发布时间: 7年前

内容简介:CodeIgniter 3.1.7 已发布,CodeIgniter 是一个简单快速的 PHP MVC 框架。该版本一些变更和错误修复,主要如下: - 更改:更新了缓存、电子邮件、表单验证、加载器和分页库;弃用 CAPTCHA 助手的 create_captc...

CodeIgniter 3.1.7 已发布,CodeIgniter 是一个简单快速的 PHP MVC 框架。该版本一些变更和错误修复,主要如下:

- 更改:更新了缓存、电子邮件、表单验证、加载器和分页库;弃用 CAPTCHA 助手的 create_captcha() 函数
- 错误修复:数据库、数据库实用程序、查询生成器和会话库;URL 助手;$config['allow_get_array'] 处理

详细更新内容

Release Date: Jan 13, 2018

General Changes

  • Updated Form Validation Library rule valid_email to use INTL_IDNA_VARIANT_UTS46 for non-ASCII domain names.

  • Updated Email Library to use INTL_IDNA_VARIANT_UTS46 for non-ASCII domain names.

  • Updated Loader Library method model() to log both CI_Model class loading and individual models’ initialization.

  • Updated Pagination Library to preserve previously set attributes while calling initialize().

  • Updated Cache Library to automatically add items to cache on increment()decrement() calls for missing keys.

  • Deprecated usage of CAPTCHA Helper function create_captcha() with parameters other than $data.

Bug fixes for 3.1.7

  • Fixed a regression (#5276) - Database Utilities method backup() generated incorrect INSERT statements with the ‘mysqli’ driver.

  • Fixed a regression where Database Results method field_data() returned incorrect type names.

  • Fixed a bug (#5278) - URL Helper function auto_link() didn’t detect trailing slashes in URLs.

  • Fixed a regression (#5282) - Query Builder method count_all_results() breaks ORDER BY clauses for subsequent queries.

  • Fixed a bug (#5279) - Query Builder didn’t account for already escaped identifiers while applying database name prefixes.

  • Fixed a bug (#5331) - URL Helper function auto_link() converted e-mail addresses starting with ‘www.’ to both “url” and “email” links.

  • Fixed a bug where $config['allow_get_array'] defaulted to FALSE if it didn’t exist in the config file.

  • Fixed a bug (#5379) - Session Library would incorrectly fail to obtain a lock that it already has on PHP 7 with the ‘memcached’ driver.

完整更新日志发布地址

源码下载:


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

硅谷之火

硅谷之火

保罗·弗赖伯格、迈克尔·斯韦因 / 张华伟 编译 / 中国华侨出版社 / 2014-11-1 / CNY 39.80

《硅谷之火:人与计算机的未来》以生动的故事,介绍了计算机爱好者以怎样的创新精神和不懈的努力,将计算机技术的力量包装在一个小巧玲珑的机壳里,实现了个人拥有计算机的梦想。同时以独特的视角讲述了苹果、微软、太阳微系统、网景、莲花以及甲骨文等公司的创业者们在实现个人计算机梦想的过程中创业的艰辛、守业的艰难、失败的痛苦,在激烈竞争的环境中奋斗的精神以及在技术上不断前进的历程。一起来看看 《硅谷之火》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

在线进制转换器
在线进制转换器

各进制数互转换器

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具