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
215215~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
216216
217217Symfony 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.
222222
223223If your deployment method doesn't use Composer, you may have removed the
224224``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::
237237 }
238238 }
239239
240-
241240.. _`Capifony` : https://github.com/everzet/capifony
242241.. _`Capistrano` : http://capistranorb.com/
243242.. _`sf2debpkg` : https://github.com/liip/sf2debpkg
You can’t perform that action at this time.
0 commit comments