From e4e1091d42e854e96706c153c71410301b3c3047 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Sat, 8 Feb 2014 19:58:48 +0200 Subject: Deprecate CI_Config::system_url() --- user_guide_src/source/installation/upgrade_300.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'user_guide_src/source/installation') diff --git a/user_guide_src/source/installation/upgrade_300.rst b/user_guide_src/source/installation/upgrade_300.rst index 3f96a31e2..75aeea715 100644 --- a/user_guide_src/source/installation/upgrade_300.rst +++ b/user_guide_src/source/installation/upgrade_300.rst @@ -553,6 +553,19 @@ The new function is both available at all times for you to use and shorter to ty ``CI_Input::is_cli_request()`` is now now deprecated and scheduled for removal in CodeIgniter 3.1+. +.. note:: This method is still available, but you're strongly encouraged to remove its usage + sooner rather than later. + +Config library method system_url() +================================== + +Usage of ``CI_Config::system_url()`` encourages insecure coding practices. +Namely, your CodeIgniter *system/* directory shouldn't be publicly accessible +from a security point of view. + +Because of this, this method is now deprecated and scheduled for removal in +CodeIgniter 3.1+. + .. note:: This method is still available, but you're strongly encouraged to remove its usage sooner rather than later. -- cgit v1.2.3-24-g4f1b