PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » PEAR » PEAR » Bug #3966

Improper path in PEAR/PackageFile/v2.php

Details

Submitted2005-03-26 19:48 UTC
Fromadamg at pld-linux dot org
Assignedcellog
StatusClosed
PackagePEAR
PHP VersionIrrelevant
OSIrrelevant
Roadmaps(Not assigned)

Comments

[2005-03-26 19:48 UTC] adamg at pld-linux dot org

Description:
------------
In PEAR/PackageFile/v2.php, in the beginning of the function &getRW() (around line 1513) there is this code:

== code
if (!class_exists('PEAR_PackageFile_v2_rw')) {
require_once 'PEAR/PackageFile/Generator/v2/rw.php';
}
== code

and PEAR/PackageFile/Generator/v2/rw.php does not exist. Instead, it should be:

== code
if (!class_exists('PEAR_PackageFile_v2_rw')) {
require_once 'PEAR/PackageFile/v2/rw.php';
}
== code