mirror of
https://github.com/php/doc-en.git
synced 2026-03-23 23:32:18 +01:00
Fix #78400: Sym-linked files are not accessible
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350194 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
@@ -1770,6 +1770,10 @@ Press Ctrl-C to quit.
|
||||
[Thu Jul 21 10:48:52 2011] ::1:39149 GET /favicon.ico - Request read
|
||||
]]>
|
||||
</screen>
|
||||
<para>
|
||||
Note that prior to PHP 7.4.0, symlinked statical resources have not been
|
||||
accessible on Windows, unless the router script would handle these.
|
||||
</para>
|
||||
</example>
|
||||
|
||||
<example>
|
||||
|
||||
@@ -16,6 +16,9 @@
|
||||
Gathers the statistics of the file named by
|
||||
<parameter>filename</parameter>. If <parameter>filename</parameter> is a
|
||||
symbolic link, statistics are from the file itself, not the symlink.
|
||||
Prior to PHP 7.4.0, on Windows <abbrev>NTS</abbrev> builds the <literal>size</literal>,
|
||||
<literal>atime</literal>, <literal>mtime</literal> and <literal>ctime</literal>
|
||||
statistics have been from the symlink, in this case.
|
||||
</para>
|
||||
<para>
|
||||
<function>lstat</function> is identical to <function>stat</function>
|
||||
@@ -214,6 +217,14 @@
|
||||
contains the file, and the inode number is the identifier associated with the file.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>7.4.0</entry>
|
||||
<entry>
|
||||
The <literal>size</literal>, <literal>atime</literal>, <literal>mtime</literal> and
|
||||
<literal>ctime</literal> statistics of symlinks are always those of the target.
|
||||
This was previously not the case for <abbrev>NTS</abbrev> builds on Windows.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
|
||||
Reference in New Issue
Block a user