cvs: php4(NEW_UI_API) /pear/PEAR Config.php
| From: | Stig Bakken | Date: | Thu, 30 May 2002 09:01:33 +0000 |
| Subject: | cvs: php4(NEW_UI_API) /pear/PEAR Config.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-4284@lists.php.net to get a copy of this message | ||
ssb Thu May 30 05:01:33 2002 EDT
Modified files: (Branch: NEW_UI_API)
/php4/pear/PEAR Config.php
Log:
* organize configuration_info array by group
Index: php4/pear/PEAR/Config.php
diff -u php4/pear/PEAR/Config.php:1.28.2.1 php4/pear/PEAR/Config.php:1.28.2.2
--- php4/pear/PEAR/Config.php:1.28.2.1 Thu May 30 03:30:14 2002
+++ php4/pear/PEAR/Config.php Thu May 30 05:01:32 2002
@@ -16,7 +16,7 @@
// | Author: Stig Bakken <ssb@fast.no> |
// +----------------------------------------------------------------------+
//
-// $Id: Config.php,v 1.28.2.1 2002/05/30 07:30:14 ssb Exp $
+// $Id: Config.php,v 1.28.2.2 2002/05/30 09:01:32 ssb Exp $
require_once 'PEAR.php';
@@ -93,6 +93,7 @@
* @var array layer => array(infotype => value, ...)
*/
var $configuration_info = array(
+ // Internet Access
'master_server' => array(
'type' => 'string',
'default' => 'pear.php.net',
@@ -100,6 +101,14 @@
'prompt' => 'PEAR server',
'group' => 'Internet Access',
),
+ 'http_proxy' => array(
+ 'type' => 'string',
+ 'default' => '',
+ 'doc' => 'HTTP proxy (host:port) to use when downloading
packages',
+ 'prompt' => 'HTTP Proxy Server Address',
+ 'group' => 'Internet Access',
+ ),
+ // File Locations
'php_dir' => array(
'type' => 'directory',
'default' => PEAR_CONFIG_DEFAULT_PHPDIR,
@@ -121,6 +130,13 @@
'prompt' => 'PEAR documentation directory',
'group' => 'File Locations',
),
+ 'bin_dir' => array(
+ 'type' => 'directory',
+ 'default' => PEAR_CONFIG_DEFAULT_BINDIR,
+ 'doc' => 'directory where executables are installed',
+ 'prompt' => 'PEAR executables directory',
+ 'group' => 'File Locations',
+ ),
'data_dir' => array(
'type' => 'directory',
'default' => PEAR_CONFIG_DEFAULT_DATADIR,
@@ -135,13 +151,7 @@
'prompt' => 'PEAR test directory',
'group' => 'File Locations (Advanced)',
),
- 'bin_dir' => array(
- 'type' => 'directory',
- 'default' => PEAR_CONFIG_DEFAULT_BINDIR,
- 'doc' => 'directory where executables are installed',
- 'prompt' => 'PEAR executables directory',
- 'group' => 'File Locations',
- ),
+ // Maintainers
'username' => array(
'type' => 'string',
'default' => '',
@@ -156,6 +166,7 @@
'prompt' => 'PEAR password (for package maintainers)',
'group' => 'Maintainers',
),
+ // Advanced
'verbose' => array(
'type' => 'integer',
'default' => 1,
@@ -175,13 +186,6 @@
'stable', 'beta', 'alpha', 'devel',
'snapshot'),
'prompt' => 'Preferred Package State',
'group' => 'Advanced',
- ),
- 'http_proxy' => array(
- 'type' => 'string',
- 'default' => '',
- 'doc' => 'HTTP proxy (host:port) to use when downloading
packages',
- 'prompt' => 'HTTP Proxy Server Address',
- 'group' => 'Internet Access',
),
'umask' => array(
'type' => 'int',