cvs: php4 /pear/scripts pear.in
| From: | Thomas V.V.Cox | Date: | Tue, 11 Dec 2001 20:52:58 +0000 |
| Subject: | cvs: php4 /pear/scripts pear.in | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-1509@lists.php.net to get a copy of this message | ||
cox Tue Dec 11 15:52:58 2001 EDT
Modified files:
/php4/pear/scripts pear.in
Log:
fixed bug #14414
Index: php4/pear/scripts/pear.in
diff -u php4/pear/scripts/pear.in:1.20 php4/pear/scripts/pear.in:1.21
--- php4/pear/scripts/pear.in:1.20 Tue Dec 11 10:31:49 2001
+++ php4/pear/scripts/pear.in Tue Dec 11 15:52:58 2001
@@ -62,10 +62,10 @@
if (OS_WINDOWS) {
$pear_default_config = PHP_SYSCONFDIR.DIRECTORY_SEPARATOR.'pearsys.ini';
- $pear_user_config = PHP_SYSCONFDIR.DIRECTORY_SEPARATOR.'pear.ini';
+ $pear_user_config = PHP_SYSCONFDIR.DIRECTORY_SEPARATOR.'pear.ini';
} else {
$pear_default_config = PHP_SYSCONFDIR.DIRECTORY_SEPARATOR.'pear.conf';
- $pear_user_config = $HTTP_ENV_VARS['HOME'].DIRECTORY_SEPARATOR.'.pearrc';
+ $pear_user_config = getenv('HOME').DIRECTORY_SEPARATOR.'.pearrc';
}
$opts = $options[0];