cvs: peardoc /en/chapters installation.xml
| From: | Arnaud Limbourg | Date: | Sat, 01 Apr 2006 12:52:06 +0000 |
| Subject: | cvs: peardoc /en/chapters installation.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-7724@lists.php.net to get a copy of this message | ||
arnaud Sat Apr 1 12:52:06 2006 UTC
Modified files:
/peardoc/en/chapters installation.xml
Log:
add example using set_include_path
http://cvs.php.net/viewcvs.cgi/peardoc/en/chapters/installation.xml?r1=1.38&r2=1.39&diff_format=u
Index: peardoc/en/chapters/installation.xml
diff -u peardoc/en/chapters/installation.xml:1.38 peardoc/en/chapters/installation.xml:1.39
--- peardoc/en/chapters/installation.xml:1.38 Wed Jan 25 14:39:29 2006
+++ peardoc/en/chapters/installation.xml Sat Apr 1 12:52:05 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.38 $ -->
+<!-- $Revision: 1.39 $ -->
<chapter id="installation">
<chapterinfo>
<author>
@@ -639,6 +639,9 @@
<![CDATA[
<?php
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());
?>
]]>
</programlisting>
@@ -906,6 +909,9 @@
<![CDATA[
<?php
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());
?>
]]>
</programlisting>