cvs: php4 /pear/scripts pearwin.php
| From: | Vincent Blavet | Date: | Thu, 24 Jan 2002 08:24:25 +0000 |
| Subject: | cvs: php4 /pear/scripts pearwin.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-2075@lists.php.net to get a copy of this message | ||
vblavet Thu Jan 24 03:24:25 2002 EDT
Modified files:
/php4/pear/scripts pearwin.php
Log:
* Call the PEAR_Registry constructor with the optional parameter
Index: php4/pear/scripts/pearwin.php
diff -u php4/pear/scripts/pearwin.php:1.4 php4/pear/scripts/pearwin.php:1.5
--- php4/pear/scripts/pearwin.php:1.4 Wed Jan 23 14:09:54 2002
+++ php4/pear/scripts/pearwin.php Thu Jan 24 03:24:24 2002
@@ -17,7 +17,7 @@
// | Tomas V.V.Cox <cox@idecnet.com> |
// +----------------------------------------------------------------------+
//
-// $Id: pearwin.php,v 1.4 2002/01/23 19:09:54 vblavet Exp $
+// $Id: pearwin.php,v 1.5 2002/01/24 08:24:24 vblavet Exp $
require_once 'PEAR.php';
require_once 'Console/Getopt.php';
@@ -90,7 +90,7 @@
break;
case 'list-installed':
include_once 'PEAR/Registry.php';
- $reg = new PEAR_Registry;
+ $reg = new PEAR_Registry($script_dir);
$installed = $reg->packageInfo();
$i = $j = 0;
print("Installed packages:\n");