8000 Minor changes · symfony/symfony-docs@2be4c1d · GitHub
[go: up one dir, main page]

Skip to content

Commit 2be4c1d

Browse files
committed
Minor changes
1 parent 86ccbdf commit 2be4c1d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

deployment.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,10 @@ Deployments not Using the ``composer.json`` File
215215
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
216216

217217
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.
222222

223223
If 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

0 commit comments

Comments
 (0)
0