cvs: pearweb /public_html go-pear
| From: | Pierre-Alain Joye | Date: | Sat, 08 Jul 2006 11:40:37 +0000 |
| Subject: | cvs: pearweb /public_html go-pear | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-4847@lists.php.net to get a copy of this message | ||
pajoye Sat Jul 8 11:40:37 2006 UTC
Modified files:
/pearweb/public_html go-pear
Log:
- #8163, restore support for museum software
http://cvs.php.net/viewvc.cgi/pearweb/public_html/go-pear?r1=1.96&r2=1.97&diff_format=u
Index: pearweb/public_html/go-pear
diff -u pearweb/public_html/go-pear:1.96 pearweb/public_html/go-pear:1.97
--- pearweb/public_html/go-pear:1.96 Fri Jun 16 15:33:55 2006
+++ pearweb/public_html/go-pear Sat Jul 8 11:40:37 2006
@@ -18,7 +18,7 @@
# | Pierre-Alain Joye <pierre@php.net> |
# | Greg Beaver <cellog@php.net> |
# +----------------------------------------------------------------------+
-# $Id: go-pear,v 1.96 2006/06/16 15:33:55 pajoye Exp $
+# $Id: go-pear,v 1.97 2006/07/08 11:40:37 pajoye Exp $
#
# Automatically download all the files needed to run the "pear" command
# (the PEAR package installer). Requires PHP 4.1.0 or newer.
@@ -591,7 +591,11 @@
# Download
####
-set_include_path($ptmp);
+if (function_exists('set_include_path')) {
+ set_include_path($ptmp);
+} else {
+ ini_set('include_path', $ptmp);
+}
if (!extension_loaded('zlib') && !WEBINSTALLER) { // In Web context we could be
in multithread env which makes dl() end up with a fatal error.
if (WINDOWS) {