summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-07-10 10:36:32 +0200
committerAndrey Andreev <narf@bofh.bg>2012-07-10 10:36:32 +0200
commitcbb654d9b332b65c5e2ae6f7bf8936b425b709ac (patch)
tree478c4dbfcdc0f58ca0146b0905498382375499a9
parent036b33b5151caf7950610a35d07cd174001d28c1 (diff)
Follow-up to #1398, #1548
-rw-r--r--index.php1
-rw-r--r--user_guide_src/source/changelog.rst7
2 files changed, 6 insertions, 2 deletions
diff --git a/index.php b/index.php
index c379f72d0..aa1df441b 100644
--- a/index.php
+++ b/index.php
@@ -66,6 +66,7 @@ switch (ENVIRONMENT)
break;
default:
+ header('HTTP/1.1 503 Service Unavailable.', TRUE, 503);
exit('The application environment is not set correctly.');
}
diff --git a/user_guide_src/source/changelog.rst b/user_guide_src/source/changelog.rst
index f3c5cf72a..0e9ec5e50 100644
--- a/user_guide_src/source/changelog.rst
+++ b/user_guide_src/source/changelog.rst
@@ -48,7 +48,8 @@ Release Date: Not Released
- Global config files are loaded first, then environment ones. Environment config keys overwrite base ones, allowing to only set the keys we want changed per environment.
- 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.
+ - 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'.
- Helpers
@@ -186,7 +187,6 @@ Release Date: Not Released
- Core
- - _exception_handler now respects php.ini's display_errors
- Changed private methods in the :doc:`URI Library <libraries/uri>` to protected so MY_URI can override them.
- Removed CI_CORE boolean constant from CodeIgniter.php (no longer Reactor and Core versions).
- Added method get_vars() to the :doc:`Loader Library <libraries/loader>` to retrieve all variables loaded with $this->load->vars().
@@ -203,6 +203,8 @@ Release Date: Not Released
- Added support for HTTP code 303 ("See Other") in set_status_header().
- Changed :doc:`Config Library <libraries/config>` method site_url() to accept an array as well.
- Added method ``strip_image_tags()`` to the :doc:`Security Library <libraries/security>`.
+ - Changed ``_exception_handler()`` to respect php.ini 'display_errors' setting.
+
Bug fixes for 3.0
------------------
@@ -311,6 +313,7 @@ Bug fixes for 3.0
- Fixed a bug (#1545) - :doc:`Query Builder <database/query_builder>` method ``limit()`` wasn't executed properly under Oracle.
- Fixed a bug (#1551) - :doc:`Date Helper <helpers/date_helper>` function ``standard_date()`` didn't properly format *W3C* and *ATOM* standard dates.
- Fixed a bug in :doc:`Query Builder <database/query_builder>` method join() where literal values were escaped as if they were fields.
+- Fixed a bug (#135) - PHP Error logging was impossible without the errors being displayed.
Version 2.1.2
=============