cvs: phpdoc /en/chapters config.xml
| From: | Philip Olson | Date: | Tue, 19 Nov 2002 09:22:30 +0000 |
| Subject: | cvs: phpdoc /en/chapters config.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969349789@lists.php.net to get a copy of this message | ||
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>