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.