From bace7d88c8ecdc35a1d6b9c65175eb1e446b3572 Mon Sep 17 00:00:00 2001 From: Andy Lindeman Date: Thu, 7 Feb 2002 02:26:36 +0000 Subject: [PATCH] Fixed Bug #8848 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@69679 c90b9560-bf6c-de11-be94-00142212c4b1 --- chapters/config.xml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/chapters/config.xml b/chapters/config.xml index 750f4bc3e1..abec0ddaf5 100644 --- a/chapters/config.xml +++ b/chapters/config.xml @@ -1,5 +1,5 @@ - + Configuration @@ -368,6 +368,14 @@ include_path = ".;c:\php\lib" module, open_basedir paths from parent directories are now automatically inherited. + + The restriction specified with open_basedir is actually a + prefix, not a directory name. This means that "open_basedir = + /dir/incl" also allows access to "/dir/include" and + "/dir/incls" if they exist. When you want to restrict access to + only the specified directory, end with a slash. For example: + "open_basedir = /dir/incl/" + Support for multiple directories was added in 3.0.7.