Home » Networking » Net_Dict » Bug #4811
[PATCH] Example dict.php uses wrong require path
Details
| Submitted | 2005-07-13 01:52 UTC |
|---|---|
| From | ieure at php dot net |
| Assigned | ieure |
| Status | Closed |
| Package | Net_Dict |
| PHP Version | Irrelevant |
| OS | Linux |
| 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