[Tickets #9588] Ansel should exclude hidden files too

bugs at horde.org bugs at horde.org
Sun Feb 20 11:00:44 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/h/whups/ticket/9588
------------------------------------------------------------------------------
  Ticket             | 9588
  Created By         | bra at fsn.hu
  Summary            | Ansel should exclude hidden files too
  Queue              | Ansel
  Version            | Git master
  Type               | Enhancement
  State              | New
  Priority           | 2. Medium
  Milestone          |
  Patch              | 1
  Owners             |
+New Attachment     | ansel.patch
------------------------------------------------------------------------------


bra at fsn.hu (2011-02-20 11:00) wrote:

In ansel's ansel/lib/View/GalleryProperties.php file there is a  
foreach loop, which iterates over the files in (our case)  
/usr/local/horde/ansel/lib/View/GalleryRenderer.
Normally, this directory only contains three files: Base.php,  
Gallery.php and GalleryLightbox.php and of course the standard unix  
directories: . and ..
The problem is I use subversion for tracking whole OS images (not just  
horde), so there is a .svn directory, which the code tries to  
interpret as a PHP class, because only '.' and '..' are excluded.
Attached is a patch, which excludes all entries, which start with a  
dot, so all hidden directories and files will be OK.






More information about the bugs mailing list