jimw Thu Apr 18 17:36:42 2002 EDT
Modified files:
/phpdoc/en/reference/filesystem/functions is-dir.xml
Log:
is_dir: clarify how relative filenames are handled, add see also for chdir
Index: phpdoc/en/reference/filesystem/functions/is-dir.xml
diff -u phpdoc/en/reference/filesystem/functions/is-dir.xml:1.2
phpdoc/en/reference/filesystem/functions/is-dir.xml:1.3
--- phpdoc/en/reference/filesystem/functions/is-dir.xml:1.2 Wed Apr 17 02:38:08
2002
+++ phpdoc/en/reference/filesystem/functions/is-dir.xml Thu Apr 18 17:36:40 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.is-dir">
<refnamediv>
@@ -13,7 +13,9 @@
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
</methodsynopsis>
<para>
- Returns &true; if the filename exists and is a directory.
+ Returns &true; if the filename exists and is a directory. If
+ <parameter>filename</parameter> is a relative filename, it will be
+ checked relative to the current working directory.
</para>
<para>
The results of this function are cached. See
@@ -25,7 +27,7 @@
be examined must be accessible via the server's filesystem.
</simpara>
<para>
- See also <function>is_file</function> and
+ See also <function>chdir</function>, <function>is_file</function> and
<function>is_link</function>.
</para>
</refsect1>