From 7023cf36438412b5724d7b54d0623c730406b1b7 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Wed, 12 Oct 2005 13:04:10 +0000 Subject: [PATCH] include ./ searches only in cwd too git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@198250 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/control-structures.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/language/control-structures.xml b/language/control-structures.xml index 115011627a..8fc7e51b2c 100644 --- a/language/control-structures.xml +++ b/language/control-structures.xml @@ -1,5 +1,5 @@ - + Control Structures @@ -1308,8 +1308,8 @@ require ('somefile.txt'); you included include/a.php and there is include "b.php" in that file, b.php is first looked in /www/ and then in /www/include/. - If filename begins with ../, it is looked only in - include_path relative to the current working directory. + If filename begins with ./ or ../, it + is looked only in include_path relative to the current working directory. When a file is included, the code it contains inherits the