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

Bug #9891 dirname(__FILE__) should not be used for include/require
Submitted: 2007-01-20 18:33 UTC
From: justinpatrin Assigned: kuboa
Status: Closed Package: Net_UserAgent_Mobile (version CVS)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 16 - 3 = ?

 
 [2007-01-20 18:33 UTC] justinpatrin (Justin Patrin)
Description: ------------ require_once dirname(__FILE__) . '/XXX'; is used in multiple files. Please change to: require_once 'XXX';

Comments

 [2007-02-20 14:15 UTC] kuboa at php dot net (Atsuhiro KUBO)
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.