cvs: pear-core / package-PEAR.xml package2.xml /PEAR REST.php

From: Date: Wed, 30 Nov 2005 06:03:54 +0000
Subject: cvs: pear-core / package-PEAR.xml package2.xml /PEAR REST.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-36614@lists.php.net to get a copy of this message
cellog Wed Nov 30 01:03:54 2005 EDT Modified files: /pear-core/PEAR REST.php /pear-core package-PEAR.xml package2.xml Log: * fix Bug #6106: Notices by list-upgrades (caused by time-outs ?) http://cvs.php.net/diff.php/pear-core/PEAR/REST.php?r1=1.15&r2=1.16&ty=u Index: pear-core/PEAR/REST.php diff -u pear-core/PEAR/REST.php:1.15 pear-core/PEAR/REST.php:1.16 --- pear-core/PEAR/REST.php:1.15 Sat Sep 24 00:15:13 2005 +++ pear-core/PEAR/REST.php Wed Nov 30 01:03:51 2005 @@ -15,7 +15,7 @@ * @author Greg Beaver <cellog@php.net> * @copyright 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: REST.php,v 1.15 2005/09/24 04:15:13 cellog Exp $ + * @version CVS: $Id: REST.php,v 1.16 2005/11/30 06:03:51 cellog Exp $ * @link http://pear.php.net/package/PEAR * @since File available since Release 1.4.0a1 */ @@ -106,9 +106,15 @@ } return $ret; } - $headers = $file[2]; - $lastmodified = $file[1]; - $content = $file[0]; + if (is_array($file)) { + $headers = $file[2]; + $lastmodified = $file[1]; + $content = $file[0]; + } else { + $content = $file; + $lastmodified = false; + $headers = array(); + } if ($forcestring) { $this->saveCache($url, $content, $lastmodified, false, $cacheId); return $content; http://cvs.php.net/diff.php/pear-core/package-PEAR.xml?r1=1.314&r2=1.315&ty=u Index: pear-core/package-PEAR.xml diff -u pear-core/package-PEAR.xml:1.314 pear-core/package-PEAR.xml:1.315 --- pear-core/package-PEAR.xml:1.314 Wed Nov 30 00:47:57 2005 +++ pear-core/package-PEAR.xml Wed Nov 30 01:03:54 2005 @@ -75,6 +75,7 @@ * fix problem with -options when using CGI version of PHP * fix Bug #6034: date format bug * fix Bug #6047: pear makerpm fails to handle docs in root directory + * fix Bug #6106: Notices by list-upgrades (caused by time-outs ?) </notes> <provides type="class" name="OS_Guess"/> <provides type="class" name="System"/> http://cvs.php.net/diff.php/pear-core/package2.xml?r1=1.207&r2=1.208&ty=u Index: pear-core/package2.xml diff -u pear-core/package2.xml:1.207 pear-core/package2.xml:1.208 --- pear-core/package2.xml:1.207 Wed Nov 30 00:47:58 2005 +++ pear-core/package2.xml Wed Nov 30 01:03:54 2005 @@ -80,6 +80,7 @@ * fix problem with -options when using CGI version of PHP * fix Bug #6034: date format bug * fix Bug #6047: pear makerpm fails to handle docs in root directory + * fix Bug #6106: Notices by list-upgrades (caused by time-outs ?) </notes> <contents> <dir name="/">

« previous php.pear.cvs (#36614) next »