PEAR is archived and read-only

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

Home » XML » XML_Feed_Parser » Bug #6472

wrong paths in require_once

Details

Submitted2006-01-12 10:57 UTC
Fromadamg at pld-linux dot org
Assignedjystewart
StatusClosed
PackageXML_Feed_Parser
PHP VersionIrrelevant
OSPLD Linux
Roadmaps(Not assigned)

Comments

[2006-01-12 10:57 UTC] adamg at pld-linux dot org

Description:
------------
in XML/Feed/Parser.php there are lines as:
require_once 'Parser/foo.php'
To be safe, we should try to use paths with respect to pear's top dir. In that case, it should be:
require_once 'XML/Feed/Parser/foo.php'

There's a patch for this issue available at:
http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/php-pear-XML_Feed_Parser-paths.patch?rev=1.1

[2006-01-12 13:23 UTC] jystewart at php dot net

This bug has been fixed in CVS.

If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.

Thanks.