Skip to content

Commit d76e98a

Browse files
Marek Briegerweaverryan
Marek Brieger
authored andcommitted
fixed a typo? The URI path being requested not the url.
1 parent f6b8bb4 commit d76e98a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/http_fundamentals.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ on that value. This can get ugly quickly:
368368
// index.php
369369
370370
$request = Request::createFromGlobals();
371-
$path = $request->getPathInfo(); // the URL being requested
371+
$path = $request->getPathInfo(); // the URI path being requested
372372
373373
if (in_array($path, array('', '/')) {
374374
$response = new Response('Welcome to the homepage.');

0 commit comments

Comments
 (0)