svn: /phpdoc/en/trunk/reference/filesystem/functions/ realpath.xml
| From: | Hannes Magnusson | Date: | Tue, 09 Feb 2010 13:07:15 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/filesystem/functions/ realpath.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6047@lists.php.net to get a copy of this message | ||
bjori Tue, 09 Feb 2010 13:07:15 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=294802
Log:
- Mention the fact realpath() needs to have executable permissions to work
- Remove odd period in the description
Changed paths:
U phpdoc/en/trunk/reference/filesystem/functions/realpath.xml
Modified: phpdoc/en/trunk/reference/filesystem/functions/realpath.xml
===================================================================
--- phpdoc/en/trunk/reference/filesystem/functions/realpath.xml 2010-02-09 12:26:07 UTC (rev 294801)
+++ phpdoc/en/trunk/reference/filesystem/functions/realpath.xml 2010-02-09 13:07:15 UTC (rev 294802)
@@ -15,7 +15,7 @@
<para>
<function>realpath</function> expands all symbolic links and
resolves references to '/./', '/../' and extra '/' characters in
- the input <parameter>path</parameter>. and return the canonicalized
+ the input <parameter>path</parameter> and return the canonicalized
absolute pathname.
</para>
</refsect1>
@@ -46,6 +46,13 @@
<function>realpath</function> returns &false; on failure, e.g. if
the file does not exist.
</para>
+ <note>
+ <para>
+ The running script must have executable permissions on all directories in
+ the hierarchy, otherwise <function>realpath</function> will return
+ &false;.
+ </para>
+ </note>
</refsect1>
<refsect1 role="changelog">