Skip to content

Commit f1caaee

Browse files
authored
Merge pull request #7233 from kenjis/docs-add-note-uri.rst
docs: add note for URI Segments
2 parents f1990b6 + 3c48531 commit f1caaee

File tree

1 file changed

+7
-1
lines changed
  • user_guide_src/source/libraries

1 file changed

+7
-1
lines changed

user_guide_src/source/libraries/uri.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,13 @@ to an on-page anchor. Media URI's can make use of them in various other ways.
204204
URI Segments
205205
============
206206

207-
Each section of the path between the slashes is a single segment. The URI class provides a simple way to determine
207+
Each section of the path between the slashes is a single segment.
208+
209+
.. note:: In the case of your site URI, URI Segments mean only the URI path part
210+
relative to the baseURL. If your baseURL contains sub folders, the values
211+
will be different from the current URI path.
212+
213+
The URI class provides a simple way to determine
208214
what the values of the segments are. The segments start at 1 being the furthest left of the path.
209215

210216
.. literalinclude:: uri/023.php

0 commit comments

Comments
 (0)