File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -215,10 +215,10 @@ Deployments not Using the ``composer.json`` File
215
215
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
216
216
217
217
Symfony applications provide a ``kernel.project_dir `` parameter and a related
218
- :method: `Symfony\\ Component\\ HttpKernel\\ Kernel\\ Kernel::getProjectDir> ` method
219
- so you can perform file operations relative to your project's root directory.
220
- The logic to find that directory is based on the location of the
221
- ``composer.json `` file.
218
+ :method: `Symfony\\ Component\\ HttpKernel\\ Kernel\\ Kernel::getProjectDir> ` method.
219
+ You can use this method to perform operations with file paths relative to your
220
+ project's root directory. The logic to find that project root directory is based
221
+ on the location of the main ``composer.json `` file.
222
222
223
223
If your deployment method doesn't use Composer, you may have removed the
224
224
``composer.json `` file and the application won't work on the production server.
@@ -237,7 +237,6 @@ kernel and return your project's root directory::
237
237
}
238
238
}
239
239
240
-
241
240
.. _`Capifony` : https://github.com/everzet/capifony
242
241
.. _`Capistrano` : http://capistranorb.com/
243
242
.. _`sf2debpkg` : https://github.com/liip/sf2debpkg
You can’t perform that action at this time.
0 commit comments