File tree Expand file tree Collapse file tree
user_guide_src/source/installation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -131,9 +131,11 @@ Helpers
131131 will be :doc: `../helpers/filesystem_helper ` in CI4.
132132- `String Helper <https://www.codeigniter.com/userguide3/helpers/string_helper.html >`_ functions
133133 in CI3 are included in :doc: `../helpers/text_helper ` in CI4.
134- - In CI4, ``redirect() `` returns a `` RedirectResponse `` instance instead of redirecting and terminating script execution. You must return it .
134+ - In CI4, ``redirect() `` is completely changed from CI3's .
135135 - `redirect() Documentation CodeIgniter 3.X <https://codeigniter.com/userguide3/helpers/url_helper.html#redirect >`_
136136 - `redirect() Documentation CodeIgniter 4.X <../general/common_functions.html#redirect >`_
137+ - In CI4, ``redirect() `` returns a ``RedirectResponse `` instance instead of redirecting and terminating script execution. You must return it.
138+ - You need to change CI3's ``redirect('login/form') `` to ``return redirect()->to('login/form') ``.
137139
138140Hooks
139141=====
You can’t perform that action at this time.
0 commit comments