Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3d46b1d

Browse filesBrowse files
committed
merged branch jdreesen/patch-2 (PR #7)
Commits ------- a18f827 fixed typos Discussion ---------- fixed typos
2 parents 18d376e + a18f827 commit 3d46b1d
Copy full SHA for 3d46b1d

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎book/part3.rst

Copy file name to clipboardExpand all lines: book/part3.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ and we are still not able to test this code properly.
7070

7171
Moreover, adding a new page means that we need to create a new PHP script,
7272
which name is exposed to the end user via the URL
73-
(``http://example.com/goodbye.php``): there is a direct mapping between the PHP
73+
(``http://example.com/bye.php``): there is a direct mapping between the PHP
7474
script name and the client URL. This is because the dispatching of the request
7575
is done by the web server directly. It might be a good idea to move this
7676
dispatching to our code for better flexibility. This can be easily achieved by
@@ -122,7 +122,7 @@ And here is for instance the new ``hello.php`` script::
122122
In the ``front.php`` script, ``$map`` associates URL paths with their
123123
corresponding PHP script paths.
124124

125-
As a bonus, if the client ask for a path that is not defined in the URL map,
125+
As a bonus, if the client asks for a path that is not defined in the URL map,
126126
we return a custom 404 page; you are now in control of your website.
127127

128128
To access a page, you must now use the ``front.php`` script:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.