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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user