philip Sat Jan 18 04:34:57 2003 EDT
Modified files:
/phpdoc/en/features safe-mode.xml
Log:
Document that safe_mode_include_dir are paths, not directory names. Essentially
copied the docs from open_basedir. This closes bug #16685
Index: phpdoc/en/features/safe-mode.xml
diff -u phpdoc/en/features/safe-mode.xml:1.28 phpdoc/en/features/safe-mode.xml:1.29
--- phpdoc/en/features/safe-mode.xml:1.28 Wed Dec 25 05:36:40 2002
+++ phpdoc/en/features/safe-mode.xml Sat Jan 18 04:34:57 2003
@@ -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>
@@ -120,6 +120,13 @@
path in a similar fashion to the
<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>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php