cvs: php4 /pear/PEAR Registry.php
| From: | Stig Bakken | Date: | Tue, 13 Nov 2001 01:06:48 +0000 |
| Subject: | cvs: php4 /pear/PEAR Registry.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-1311@lists.php.net to get a copy of this message | ||
ssb Mon Nov 12 20:06:48 2001 EDT
Modified files:
/php4/pear/PEAR Registry.php
Log:
* rename files to .reg (not .inf)
Index: php4/pear/PEAR/Registry.php
diff -u php4/pear/PEAR/Registry.php:1.8 php4/pear/PEAR/Registry.php:1.9
--- php4/pear/PEAR/Registry.php:1.8 Wed Nov 7 05:43:04 2001
+++ php4/pear/PEAR/Registry.php Mon Nov 12 20:06:48 2001
@@ -17,7 +17,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: Registry.php,v 1.8 2001/11/07 10:43:04 ssb Exp $
+// $Id: Registry.php,v 1.9 2001/11/13 01:06:48 ssb Exp $
require_once "System.php";
@@ -55,7 +55,7 @@
function _packageFileName($package)
{
- return "{$this->statedir}/{$package}.inf";
+ return "{$this->statedir}/{$package}.reg";
}
// }}}
@@ -162,7 +162,7 @@
return $pkglist;
}
while ($ent = readdir($dp)) {
- if ($ent{0} == "." || substr($ent, -4) != ".inf") {
+ if ($ent{0} == "." || substr($ent, -4) != ".reg") {
continue;
}
$pkglist[] = substr($ent, 0, -4);