Skip to content

Commit

Permalink
Add a caution to the getUploadRootDir - correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Ana Cicconi committed May 23, 2015
1 parent 69475d0 commit a80d669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/doctrine/file_uploads.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ file.

.. caution::

If you use the getUploadRootDir() method, be aware that this will save
If you use the ``getUploadRootDir()`` method, be aware that this will save
the file inside the document root, which can be accessed by everyone.
Consider placing it out of the document root and adding custom viewing
logic when you need to secure the files.
Expand Down

0 comments on commit a80d669

Please sign in to comment.