mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
open_basedir is not prefix anymore (doc bug #53597)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308212 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
6368059f30
commit
911cf599c1
1 changed files with 4 additions and 3 deletions
|
@ -4893,9 +4893,10 @@ include_path=".;c:\php\includes"
|
|||
automatically inherited.
|
||||
</para>
|
||||
<para>
|
||||
The restriction specified with <option>open_basedir</option> is actually a
|
||||
prefix, not a directory name. This means that "<literal>open_basedir
|
||||
= /dir/incl</literal>" also allows access to "<literal>/dir/include</literal>" and
|
||||
The restriction specified with <option>open_basedir</option> is a
|
||||
directory name since PHP 5.2.16 and 5.3.4. Previous versions used it
|
||||
as a prefix. This means that "<literal>open_basedir
|
||||
= /dir/incl</literal>" also allowed access to "<literal>/dir/include</literal>" and
|
||||
"<literal>/dir/incls</literal>" if they exist. When you want to restrict access
|
||||
to only the specified directory, end with a slash. For example:
|
||||
<literal>open_basedir = /dir/incl/</literal>
|
||||
|
|
Loading…
Reference in a new issue