Skip to content

Commit 92cc724

Browse files
authored
[HttpFoundation] Fix clearstatcache first arg
1 parent 75623c4 commit 92cc724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/http_foundation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ Please note that this will not work when the ``X-Sendfile`` header is set.
533533

534534
If you *just* created the file during this same request, the file *may* be sent
535535
without any content. This may be due to cached file stats that return zero for
536-
the size of the file. To fix this issue, call ``clearstatcache(false, $file)``
536+
the size of the file. To fix this issue, call ``clearstatcache(true, $file)``
537537
with the path to the binary file.
538538

539539
.. _component-http-foundation-json-response:

0 commit comments

Comments
 (0)