File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ and we are still not able to test this code properly.
70
70
71
71
Moreover, adding a new page means that we need to create a new PHP script,
72
72
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
74
74
script name and the client URL. This is because the dispatching of the request
75
75
is done by the web server directly. It might be a good idea to move this
76
76
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::
122
122
In the ``front.php `` script, ``$map `` associates URL paths with their
123
123
corresponding PHP script paths.
124
124
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,
126
126
we return a custom 404 page; you are now in control of your website.
127
127
128
128
To access a page, you must now use the ``front.php `` script:
You can’t perform that action at this time.
0 commit comments