Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:/EllisLab/CodeIgniter into session
Browse files Browse the repository at this point in the history
  • Loading branch information
dchill42 committed Sep 12, 2012
2 parents 0fc5320 + 88e3857 commit dd887a2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Expand Up @@ -3,6 +3,11 @@ language: php
php:
- 5.3
- 5.4

services:
- mysql
- postgresql
- sqlite

env:
- DB=mysql
Expand Down
2 changes: 1 addition & 1 deletion system/database/DB_driver.php
Expand Up @@ -1353,7 +1353,7 @@ public function display_error($error = '', $swap = '', $native = FALSE)
$trace = debug_backtrace();
foreach ($trace as $call)
{
if (isset($call['file']) && strpos($call['file'], BASEPATH.'database') === FALSE && isset($call['class']) && strpos($call['class'], 'Loader') !== FALSE)
if (isset($call['file'], $call['class']) && strpos($call['file'], BASEPATH.'database') === FALSE && strpos($call['class'], 'Loader') !== FALSE)
{
// Found it - use a relative path for safety
$message[] = 'Filename: '.str_replace(array(APPPATH, BASEPATH), '', $call['file']);
Expand Down
10 changes: 5 additions & 5 deletions user_guide_src/source/changelog.rst
Expand Up @@ -51,8 +51,8 @@ Release Date: Not Released
- Changed detection of ``$view_folder`` so that if it's not found in the current path, it will now also be searched for under the application folder.
- Path constants BASEPATH, APPPATH and VIEWPATH are now (internally) defined as absolute paths.
- Updated email validation methods to use ``filter_var()`` instead of PCRE.
- Changed environment defaults to report all errors in 'development' and only fatal ones in 'testing' and 'production' but only display them in 'development'.
- Updated ip_address lengths from 16 to 45 for supporting ipv6 address on trackback library and captcha helper.
- Changed environment defaults to report all errors in *development* and only fatal ones in *testing*, *production* but only display them in *development*.
- Updated *ip_address* database field lengths from 16 to 45 for supporting IPv6 address on :doc:`Trackback Library <libraries/trackback>` and :doc:`Captcha Helper <helpers/captcha_helper>`.

- Helpers

Expand Down Expand Up @@ -144,7 +144,7 @@ Release Date: Not Released
- Added capability for packages to hold database.php config files
- Added subdrivers support (currently only used by PDO).
- Added client compression support for MySQL and MySQLi.
- Removed Loader class from Database error to better find the likely culprit.
- Removed :doc:`Loader Class <libraries/loader>` from Database error to better find the likely culprit.

- Libraries

Expand Down Expand Up @@ -201,7 +201,7 @@ Release Date: Not Released
- Added support for setting custom attributes.
- Deprecated usage of the "anchor_class" setting (use the new "attributes" setting instead).
- Added $config['reuse_query_string'] to allow automatic repopulation of query string arguments, combined with normal URI segments.
- Removed the default ``&nbsp;`` from a number of the configuration variables.
- Removed the default ``&nbsp;`` from a number of the configuration variables.
- Added the ability to use a proxy with the :doc:`XML-RPC Library <libraries/xmlrpc>`.

- Core
Expand Down Expand Up @@ -340,7 +340,7 @@ Bug fixes for 3.0
- Fixed a bug (#1613) - :doc:`Form Helper <helpers/form_helper>` functions ``form_multiselect()``, ``form_dropdown()`` didn't properly handle empty array option groups.
- Fixed a bug (#1605) - :doc:`Pagination Library <libraries/pagination>` produced incorrect *previous* and *next* link values.
- Fixed a bug in SQLSRV's ``affected_rows()`` method where an erroneous function name was used.
- Fixed a bug (#1000) - Change syntax of $view_file to $_ci_view_file to prevent being overwritten by application.
- Fixed a bug (#1000) - Change syntax of ``$view_file`` to ``$_ci_view_file`` to prevent being overwritten by application.

Version 2.1.2
=============
Expand Down

0 comments on commit dd887a2

Please sign in to comment.