Skip to content

Commit f023594

Browse files
authored
Merge pull request #8184 from kenjis/docs-add-note-to-CURLRequest-shareOptions
docs: add note to not recommended `CURLRequest::$shareOptions`
2 parents 863781f + b2d9926 commit f023594

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

user_guide_src/source/libraries/curlrequest.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@ Config for CURLRequest
2828
Sharing Options
2929
===============
3030

31-
.. note:: Since v4.4.0, the default value has been changed to ``false``. This
32-
setting exists only for backward compatibility. New users do not need to
33-
change the setting.
31+
.. important:: This setting exists only for backward compatibility. Do not use it
32+
in new projects. Even if you are already using it, we recommend that you disable
33+
it.
34+
35+
.. note:: Since v4.4.0, the default value has been changed to ``false``.
3436

3537
If you want to share all the options between requests, set ``$shareOptions`` to
3638
``true`` in **app/Config/CURLRequest.php**:

0 commit comments

Comments
 (0)