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 » Networking » Net_Dict » Bug #4811

[PATCH] Example dict.php uses wrong require path

Details

Submitted2005-07-13 01:52 UTC
Fromieure at php dot net
Assignedieure
StatusClosed
PackageNet_Dict
PHP VersionIrrelevant
OSLinux
Roadmaps(Not assigned)

Comments

[2005-07-13 01:52 UTC] ieure at php dot net

Description:
------------
The example requires ../Dict.php, which is wrong. It
should require Net/Dict.php.

Patch:
http://atomized.org/PEAR/Net_Dict/Net_Dict-4-example.patch

[2006-03-06 20:00 UTC] ieure at php dot net

I'm aware that's it's for documentation, however:

- Many people use the examples to get a feel for their code,
so there's a chance people will put that in their code,
where it won't work.

- The script is not runnable at all when the package is
installed; that path is only valid in the CVS working
directory, which most people won't have handy.

For those reasons, I think the the patch should be applied.

[2006-05-10 20:10 UTC] ieure at php dot net

Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pear.php.net/get/Net_Dict