Document that safe_mode_include_dir are paths, not directory names. Essentially

copied the docs from open_basedir.  This closes bug #16685


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@112363 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2003-01-18 09:34:57 +00:00
parent 683326fa6a
commit 45c08109f5

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.28 $ -->
<!-- $Revision: 1.29 $ -->
<chapter id="features.safe-mode">
<title>Safe Mode</title>
@ -121,6 +121,13 @@
<link linkend="ini.include-path">include_path</link> directive,
rather than just a single directory.
</simpara>
<simpara>
The restriction specified is actually a prefix, not a directory name.
This means that "safe_mode_include_dir = /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: "safe_mode_include_dir = /dir/incl/"
</simpara>
</listitem>
</varlistentry>
<varlistentry id="ini.safe-mode-exec-dir">