philip Tue Nov 19 04:22:30 2002 EDT
Modified files:
/phpdoc/en/chapters config.xml
Log:
include_path: Using php.ini-dist defaults in examples. Explain what . is a
little more. And a little cleanup. This also closes bug #19698
Index: phpdoc/en/chapters/config.xml
diff -u phpdoc/en/chapters/config.xml:1.84 phpdoc/en/chapters/config.xml:1.85
--- phpdoc/en/chapters/config.xml:1.84 Tue Nov 19 01:11:53 2002
+++ phpdoc/en/chapters/config.xml Tue Nov 19 04:22:29 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.84 $ -->
+<!-- $Revision: 1.85 $ -->
<chapter id="configuration">
<title>Configuration</title>
@@ -916,24 +916,31 @@
files. The format is like the system's <envar>PATH</envar>
environment variable: a list of directories separated with a
colon in UNIX or semicolon in Windows.
+ </para>
+ <para>
<example>
<title>UNIX include_path</title>
- <programlisting role="php3.ini">
+ <programlisting role="php.ini">
<![CDATA[
-include_path=.:/home/httpd/php-lib
+include_path=".:/php/includes"
]]>
- </programlisting>
+ </programlisting>
</example>
+ </para>
+ <para>
<example>
<title>Windows include_path</title>
- <programlisting role="php3.ini">
+ <programlisting role="php.ini">
<![CDATA[
-include_path=".;c:\www\phplib"
+include_path=".;c:\php\includes"
]]>
- </programlisting>
+ </programlisting>
</example>
- The default value for this directive is <literal>.</literal>
- (only the current directory).</para>
+ </para>
+ <para>
+ Using a <literal>.</literal> in the include path allows for
+ relative includes as it means the current directory.
+ </para>
</listitem>
</varlistentry>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php