Skip to content

Commit 3d46b1d

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/part3.rst

+2-2
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)