diff options
author | Stig Bakken <ssb@php.net> | 2002-11-19 02:18:30 +0000 |
---|---|---|
committer | Stig Bakken <ssb@php.net> | 2002-11-19 02:18:30 +0000 |
commit | bfae20f404f73bddcb9a0e44e20fa1873e858c13 (patch) | |
tree | d6d764c14f954c33275f0c28f780e6c57247748e | |
parent | c598b3ac16be34c958a2abb566af75e24c6e6101 (diff) | |
download | php-git-bfae20f404f73bddcb9a0e44e20fa1873e858c13.tar.gz |
* allow config-get in the default layer
-rw-r--r-- | pear/PEAR/Command/Config.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pear/PEAR/Command/Config.php b/pear/PEAR/Command/Config.php index b8f14511dd..85304fdcae 100644 --- a/pear/PEAR/Command/Config.php +++ b/pear/PEAR/Command/Config.php @@ -187,7 +187,7 @@ displays help for all configuration parameters. */ function _checkLayer($layer = null) { - if (!empty($layer)) { + if (!empty($layer) && $layer != 'default') { $layers = $this->config->getLayers(); if (!in_array($layer, $layers)) { return " only the layers: \"" . implode('" or "', $layers) . "\" are supported"; |