PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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