cvs: pear-core /PEAR/Command Config.php
| From: | Greg Beaver | Date: | Sun, 20 Feb 2005 20:58:39 +0000 |
| Subject: | cvs: pear-core /PEAR/Command Config.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-29563@lists.php.net to get a copy of this message | ||
cellog Sun Feb 20 15:58:39 2005 EDT
Modified files:
/pear-core/PEAR/Command Config.php
Log:
make sure that config-get works (layer must be null,
not user, in order to retrieve the current value)
http://cvs.php.net/diff.php/pear-core/PEAR/Command/Config.php?r1=1.43&r2=1.44&ty=u
Index: pear-core/PEAR/Command/Config.php
diff -u pear-core/PEAR/Command/Config.php:1.43 pear-core/PEAR/Command/Config.php:1.44
--- pear-core/PEAR/Command/Config.php:1.43 Mon Jan 3 23:55:22 2005
+++ pear-core/PEAR/Command/Config.php Sun Feb 20 15:58:39 2005
@@ -18,7 +18,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: Config.php,v 1.43 2005/01/04 04:55:22 cellog Exp $
+// $Id: Config.php,v 1.44 2005/02/20 20:58:39 cellog Exp $
require_once "PEAR/Command/Common.php";
require_once "PEAR/Config.php";
@@ -197,7 +197,7 @@
return $this->raiseError("config-get expects 1 or 2 parameters");
} else {
if (count($params) == 1) {
- $layer = 'user';
+ $layer = null;
} else {
$layer = $params[1];
}