vrana Fri Nov 26 09:40:48 2004 EDT
Modified files:
/phpdoc/en/language control-structures.xml
Log:
include(../) searches only from current dir (bug #30881)
http://cvs.php.net/diff.php/phpdoc/en/language/control-structures.xml?r1=1.110&r2=1.111&ty=u
Index: phpdoc/en/language/control-structures.xml
diff -u phpdoc/en/language/control-structures.xml:1.110
phpdoc/en/language/control-structures.xml:1.111
--- phpdoc/en/language/control-structures.xml:1.110 Mon Nov 8 17:26:22 2004
+++ phpdoc/en/language/control-structures.xml Fri Nov 26 09:40:48 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.110 $ -->
+<!-- $Revision: 1.111 $ -->
<chapter id="language.control-structures">
<title>Control Structures</title>
@@ -1290,6 +1290,8 @@
you included <filename>include/a.php</filename> and there is
<literal>include "b.php"</literal>
in that file, <filename>b.php</filename> is first looked in <filename
class="directory">/www/</filename>
and then in <filename class="directory">/www/include/</filename>.
+ If filename begins with <literal>../</literal>, it is looked only in
+ include_path relative to the current working directory.
</simpara>
<simpara>
When a file is included, the code it contains inherits the