cvs: peardoc /en/chapters installation.xml
| From: | Daniel Convissor | Date: | Sun, 04 Jun 2006 13:57:15 +0000 |
| Subject: | cvs: peardoc /en/chapters installation.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-7998@lists.php.net to get a copy of this message | ||
danielc Sun Jun 4 13:57:15 2006 UTC
Modified files:
/peardoc/en/chapters installation.xml
Log:
* Wrap examples so main text doesn't flow off right side of page.
http://cvs.php.net/viewcvs.cgi/peardoc/en/chapters/installation.xml?r1=1.42&r2=1.43&diff_format=u
Index: peardoc/en/chapters/installation.xml
diff -u peardoc/en/chapters/installation.xml:1.42 peardoc/en/chapters/installation.xml:1.43
--- peardoc/en/chapters/installation.xml:1.42 Tue May 16 14:29:08 2006
+++ peardoc/en/chapters/installation.xml Sun Jun 4 13:57:15 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.42 $ -->
+<!-- $Revision: 1.43 $ -->
<chapter id="installation">
<chapterinfo>
<author>
@@ -596,9 +596,10 @@
PEAR 1.3.5 and earlier
<screen>
<userinput>
-$ pear -s -c ~/.pearrc -d doc_dir=~/pear/docs -d ext_dir=~/pear/ext \
- -d php_dir=~/pear/lib -d data_dir=~/pear/data -d test_dir=~/pear/tests \
- -d cache_dir=~/pear/cache -d bin_dir=~/pear/bin
+$ pear -s -c ~/.pearrc -d doc_dir=~/pear/docs \
+ -d ext_dir=~/pear/ext -d php_dir=~/pear/lib \
+ -d data_dir=~/pear/data -d test_dir=~/pear/tests \
+ -d cache_dir=~/pear/cache -d bin_dir=~/pear/bin
</userinput>
</screen>
</para>
@@ -643,10 +644,13 @@
<programlisting role="php">
<![CDATA[
<?php
-ini_set('include_path', '~/pear/lib' . PATH_SEPARATOR .
ini_get('include_path'));
+ini_set('include_path', '~/pear/lib' . PATH_SEPARATOR
+ . ini_get('include_path'));
-// From PHP 4.3.0 onwards you can use, especially useful on a shared host
-set_include_path('~/pear/lib' . PATH_SEPARATOR . get_include_path());
+// From PHP 4.3.0 onward, you can use the following,
+// which especially useful on shared hosts:
+set_include_path('~/pear/lib' . PATH_SEPARATOR
+ . get_include_path());
?>
]]>
</programlisting>
@@ -878,7 +882,8 @@
<para>
<screen>
<![CDATA[
-C:\remote\pear\> pear -c remote.ini config-set remote_config ftp://user:pass@myremotehost.com/.pearrc
+C:\remote\pear\> pear -c remote.ini config-set remote_config \
+ ftp://user:pass@myremotehost.com/.pearrc
]]>
</screen>
</para>
@@ -888,7 +893,8 @@
<para>
<screen>
<![CDATA[
-$ pear -c remote.conf config-set remote_config ftp://user:pass@myremotehost.com/.pearrc
+$ pear -c remote.conf config-set remote_config \
+ ftp://user:pass@myremotehost.com/.pearrc
]]>
</screen>
</para>
@@ -969,10 +975,13 @@
<programlisting role="php">
<![CDATA[
<?php
-ini_set('include_path', '~/pear/lib' . PATH_SEPARATOR .
ini_get('include_path'));
+ini_set('include_path', '~/pear/lib' . PATH_SEPARATOR
+ . ini_get('include_path'));
-// From PHP 4.3.0 onwards you can use, especially useful on a shared host
-set_include_path('~/pear/lib' . PATH_SEPARATOR . get_include_path());
+// From PHP 4.3.0 onward, you can use the following,
+// which especially useful on shared hosts:
+set_include_path('~/pear/lib' . PATH_SEPARATOR
+ . get_include_path());
?>
]]>
</programlisting>