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

Bug #9890 dirname(__FILE__) should not be used for include/require
Submitted: 2007-01-20 18:31 UTC
From: justinpatrin Assigned: datenpunk
Status: Closed Package: DB_NestedSet (version CVS)
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2007-01-20 18:31 UTC] justinpatrin (Justin Patrin)
Description: ------------ DB_NestedSet/NestedSet.php should not have include_once(dirname(__FILE__) . '/NestedSet/Node.php');, please change to include_once 'NestedSet/Node.php';

Comments

 [2007-01-20 18:36 UTC] justinpatrin (Justin Patrin)
Pardon, that should be: include_once 'DB/NestedSet/Node.php';
 [2007-10-21 21:22 UTC] datenpunk (Daniel Khan)
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. Changed to include_once('NestedSet/Node.php'); because everything else (DB/..) wouldn't work within the unit tests. -- Daniel Khan