cvs: pear-core /PEAR Config.php
| From: | Greg Beaver | Date: | Sun, 20 Feb 2005 20:58:15 +0000 |
| Subject: | cvs: pear-core /PEAR Config.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-29562@lists.php.net to get a copy of this message | ||
cellog Sun Feb 20 15:58:15 2005 EDT
Modified files:
/pear-core/PEAR Config.php
Log:
move {{{ }}} markers to the right place
http://cvs.php.net/diff.php/pear-core/PEAR/Config.php?r1=1.93&r2=1.94&ty=u
Index: pear-core/PEAR/Config.php
diff -u pear-core/PEAR/Config.php:1.93 pear-core/PEAR/Config.php:1.94
--- pear-core/PEAR/Config.php:1.93 Sun Feb 20 11:57:10 2005
+++ pear-core/PEAR/Config.php Sun Feb 20 15:58:14 2005
@@ -17,7 +17,7 @@
// | Greg Beaver <cellog@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Config.php,v 1.93 2005/02/20 16:57:10 cellog Exp $
+// $Id: Config.php,v 1.94 2005/02/20 20:58:14 cellog Exp $
require_once 'PEAR.php';
require_once 'PEAR/Registry.php';
@@ -534,7 +534,7 @@
foreach ($this->configuration_info as $key => $info) {
$this->configuration['default'][$key] = $info['default'];
}
- $this->_registry['default'] = &new PEAR_Registry($phpdir);
+ $this->_registry['default'] = &new
PEAR_Registry($this->configuration['default']['php_dir']);
$this->_registry['default']->setConfig($this);
$this->_regInitialized['default'] = false;
//$GLOBALS['_PEAR_Config_instance'] = &$this;
@@ -1044,9 +1044,6 @@
}
// }}}
- // {{{ get(key, [layer])
-
- // }}}
// {{{ getDefaultChannel([layer])
/**
* Retrieve the default channel.
@@ -1081,6 +1078,7 @@
return PEAR_CONFIG_DEFAULT_CHANNEL;
}
+ // {{{ get(key, [layer])
/**
* Returns a configuration value, prioritizing layers as per the
* layers property.