1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 17:38:14 +02:00

* rename files to .reg (not .inf)

This commit is contained in:
Stig Bakken
2001-11-13 01:06:48 +00:00
parent 79f0345166
commit e6f95ee99b
+2 -2
View File
@@ -55,7 +55,7 @@ class PEAR_Registry
function _packageFileName($package)
{
return "{$this->statedir}/{$package}.inf";
return "{$this->statedir}/{$package}.reg";
}
// }}}
@@ -162,7 +162,7 @@ class PEAR_Registry
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);