summaryrefslogtreecommitdiffstats
path: root/user_guide_src
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-02-03 13:10:44 +0100
committerAndrey Andreev <narf@devilix.net>2014-02-03 13:10:44 +0100
commitaaa8ddb5a48af8f37cf1015a7768957cce41acd3 (patch)
tree4691e71a6eaca2be03dfc97ed5fffb0a1c4aa9ac /user_guide_src
parenta142d33e68355757793f74209701ceb0915761c4 (diff)
[ci skip] Update info on function_usable
Diffstat (limited to 'user_guide_src')
-rw-r--r--user_guide_src/source/changelog.rst2
-rw-r--r--user_guide_src/source/general/common_functions.rst7
2 files changed, 7 insertions, 2 deletions
diff --git a/user_guide_src/source/changelog.rst b/user_guide_src/source/changelog.rst
index 3124dea60..c6d42d923 100644
--- a/user_guide_src/source/changelog.rst
+++ b/user_guide_src/source/changelog.rst
@@ -449,7 +449,7 @@ Release Date: Not Released
- Changed ``_exception_handler()`` to respect php.ini *display_errors* setting.
- Added function :php:func:`is_https()` to check if a secure connection is used.
- Added function :php:func:`is_cli()` to replace the ``CI_Input::is_cli_request()`` method.
- - Added function :php:func:`function_usable()` to check if a function exists and is not disabled by `Suhosin <http://www.hardened-php.net/suhosin/>`.
+ - Added function :php:func:`function_usable()` to work around a bug in `Suhosin <http://www.hardened-php.net/suhosin/>`.
- Removed the third (`$php_error`) from function :php:func:`log_message()`.
- :doc:`Output Library <libraries/output>` changes include:
diff --git a/user_guide_src/source/general/common_functions.rst b/user_guide_src/source/general/common_functions.rst
index a1007cb4b..1babe5a83 100644
--- a/user_guide_src/source/general/common_functions.rst
+++ b/user_guide_src/source/general/common_functions.rst
@@ -202,4 +202,9 @@ checks if it doesn't disable the function being checked.
It is useful if you want to check for the availability of functions
such as ``eval()`` and ``exec()``, which are dangerous and might be
-disabled on servers with highly restrictive security policies. \ No newline at end of file
+disabled on servers with highly restrictive security policies.
+
+.. note:: This function was introduced because Suhosin terminated
+ script execution, but this turned out to be a bug. A fix
+ has been available for some time (version 0.9.34), but is
+ unfortunately not released yet. \ No newline at end of file