File tree 3 files changed +5
-1
lines changed
3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -155,6 +155,8 @@ Now that the web server always access the same script (``front.php``) for all
155
155
our pages, we can secure our code further by moving all other PHP files
156
156
outside the web root directory:
157
157
158
+ .. code-block :: text
159
+
158
160
example.com
159
161
├── composer.json
160
162
│ src
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ instead of relying on a query string:
55
55
56
56
To support this feature, we are going to use the Symfony2 Routing component.
57
57
As always, add it to ``composer.json `` and run the ``php composer.phar
58
- update `` command to install it::
58
+ update `` command to install it:
59
59
60
60
.. code-block :: json
61
61
Original file line number Diff line number Diff line change @@ -157,6 +157,8 @@ Don't forget to update the ``example.com/src/app.php`` file accordingly::
157
157
158
158
To sum up, here is the new file layout:
159
159
160
+ .. code-block :: text
161
+
160
162
example.com
161
163
├── composer.json
162
164
│ src
You can’t perform that action at this time.
0 commit comments