Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.7

Bug #4811 [PATCH] Example dict.php uses wrong require path
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)    
Subscription  


 [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

Comments

 [2006-03-04 11:27 UTC] cnb
Sorry, but your problem does not imply a bug in PEAR itself. For a list of more appropriate places to ask for help using PEAR, please visit http://pear.php.net/support/ as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PEAR. It's meant for documentation and not as a program by itself
 [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 (Ian Eure)
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