svn: /phpdoc/en/trunk/appendices/ ini.xml
| From: | Jakub Vrana | Date: | Thu, 10 Feb 2011 15:58:04 +0000 |
| Subject: | svn: /phpdoc/en/trunk/appendices/ ini.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7745@lists.php.net to get a copy of this message | ||
vrana Thu, 10 Feb 2011 15:58:04 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=308212
Log:
open_basedir is not prefix anymore (doc bug #53597)
Bug: http://bugs.php.net/53597 (Closed) open_basedir not
working as documented
Changed paths:
U phpdoc/en/trunk/appendices/ini.xml
Modified: phpdoc/en/trunk/appendices/ini.xml
===================================================================
--- phpdoc/en/trunk/appendices/ini.xml 2011-02-10 15:56:31 UTC (rev 308211)
+++ phpdoc/en/trunk/appendices/ini.xml 2011-02-10 15:58:04 UTC (rev 308212)
@@ -4893,9 +4893,10 @@
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>