File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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.
7070
7171Moreover, adding a new page means that we need to create a new PHP script,
7272which 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
7474script name and the client URL. This is because the dispatching of the request
7575is done by the web server directly. It might be a good idea to move this
7676dispatching 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::
122122In the ``front.php `` script, ``$map `` associates URL paths with their
123123corresponding 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,
126126we return a custom 404 page; you are now in control of your website.
127127
128128To access a page, you must now use the ``front.php `` script:
You can’t perform that action at this time.
0 commit comments