Skip to content

Commit a80d669

Browse files
author
Ana Cicconi
committed
Add a caution to the getUploadRootDir - correction
1 parent 69475d0 commit a80d669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/doctrine/file_uploads.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ file.
102102

103103
.. caution::
104104

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

0 commit comments

Comments
 (0)