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

Request #10945 Ignore should take directory into consideration
Submitted: 2007-05-06 00:29 UTC
From: lsolesen Assigned: dufuz
Status: Closed Package: PEAR_PackageFileManager (version 1.6.0)
PHP Version: 5.2.1 OS: Win
Roadmaps: 1.7.0    
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 : 30 - 1 = ?

 
 [2007-05-06 00:29 UTC] lsolesen (Lars Olesen)
Description: ------------ Using the setOptions() and the ignore key, it would be nice to be able to do the following: 'ignore' => array( 'file.php', // ignores one file, and works now 'upload/' // ignores a directory and works now 'upload/file.php' // ignores a specific file in a dir and does not work now ); It seems that the last solution doesn't work now. One have to just use file.php, and that makes it impossible to use more files with the same name in different directories.

Comments

 [2008-02-07 05:17 UTC] dufuz (Helgi Þormar Þorbjörnsson)
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. Pretty sure I found a fix for the problem, you can try CVS if you want to confirm it.