File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 85
85
.. tip ::
86
86
87
87
This executes **only ** ``app.php ``, ``app_dev.php `` and ``config.php `` in
88
- the web directory. All other files will be served as text. If you have
89
- other PHP files in your web directory, be sure to include them in the
90
- ``location `` block above.
88
+ the web directory. All other files will be served as text. You **must **
89
+ also make sure that if you *do * deploy ``app_dev.php `` or ``config.php ``
90
+ that these files are secured and not available to any outside user (the
91
+ IP checking code at the top of each file does this by default).
92
+
93
+ If you have other PHP files in your web directory that need to be executed,
94
+ be sure to include them in the ``location `` block above.
91
95
92
96
.. _`Apache` : http://httpd.apache.org/docs/current/mod/core.html#documentroot
93
97
.. _`Nginx` : http://wiki.nginx.org/Symfony
You can’t perform that action at this time.
0 commit comments