cvs: pear-core /PEAR Registry.php /PEAR/REST 11.php
| From: | Greg Beaver | Date: | Thu, 27 Oct 2005 05:54:38 +0000 |
| Subject: | cvs: pear-core /PEAR Registry.php /PEAR/REST 11.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-35897@lists.php.net to get a copy of this message | ||
cellog Thu Oct 27 01:54:38 2005 EDT
Modified files:
/pear-core/PEAR/REST 11.php
/pear-core/PEAR Registry.php
Log:
enable REST1.1 by default in PEAR_Registry
fix typo in PEAR/REST/11.php, missing s in $releases
http://cvs.php.net/diff.php/pear-core/PEAR/REST/11.php?r1=1.1&r2=1.2&ty=u
Index: pear-core/PEAR/REST/11.php
diff -u pear-core/PEAR/REST/11.php:1.1 pear-core/PEAR/REST/11.php:1.2
--- pear-core/PEAR/REST/11.php:1.1 Sat Oct 22 01:15:50 2005
+++ pear-core/PEAR/REST/11.php Thu Oct 27 01:54:37 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: 11.php,v 1.1 2005/10/22 05:15:50 cellog Exp $
+ * @version CVS: $Id: 11.php,v 1.2 2005/10/27 05:54:37 cellog Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 1.4.3
*/
@@ -81,7 +81,7 @@
unset($unstable);
unset($stable);
unset($state);
- if ($release) {
+ if ($releases) {
if (!isset($releases['r'][0])) {
$releases['r'] = array($releases['r']);
}
http://cvs.php.net/diff.php/pear-core/PEAR/Registry.php?r1=1.141&r2=1.142&ty=u
Index: pear-core/PEAR/Registry.php
diff -u pear-core/PEAR/Registry.php:1.141 pear-core/PEAR/Registry.php:1.142
--- pear-core/PEAR/Registry.php:1.141 Thu Oct 20 18:13:45 2005
+++ pear-core/PEAR/Registry.php Thu Oct 27 01:54:38 2005
@@ -17,7 +17,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: Registry.php,v 1.141 2005/10/20 22:13:45 cellog Exp $
+ * @version CVS: $Id: Registry.php,v 1.142 2005/10/27 05:54:38 cellog Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 0.1
*/
@@ -199,6 +199,7 @@
$pear_channel->setSummary('PHP Extension and Application
Repository');
$pear_channel->setDefaultPEARProtocols();
$pear_channel->setBaseURL('REST1.0', 'http://pear.php.net/rest/');
+ $pear_channel->setBaseURL('REST1.1', 'http://pear.php.net/rest/');
} else {
$pear_channel->setName('pear.php.net');
$pear_channel->setAlias('pear');
@@ -1308,6 +1309,7 @@
$pear_channel->setSummary('PHP Extension and Application Repository');
$pear_channel->setDefaultPEARProtocols();
$pear_channel->setBaseURL('REST1.0', 'http://pear.php.net/rest/');
+ $pear_channel->setBaseURL('REST1.1', 'http://pear.php.net/rest/');
return $pear_channel;
}
if ($this->_getChannelFromAlias($channel) == 'pecl.php.net') {