Diff for web-apps/fastcgi-gallery/_modules/gallery.pm between version 1.4 and 1.5
| version 1.4, 2005/10/18 12:51:47 |
version 1.5, 2005/10/18 12:57:19 |
|
|
| # 2005-07-19 - created |
# 2005-07-19 - created |
| # |
# |
| |
|
| # $Platon: web-apps/fastcgi-gallery/_modules/gallery.pm,v 1.3 2005/10/18 12:50:30 rajo Exp $ |
# $Platon: web-apps/fastcgi-gallery/_modules/gallery.pm,v 1.4 2005/10/18 12:51:47 rajo Exp $ |
| |
|
| package gallery; |
package gallery; |
| |
|
| Line 1099 sub get_subentries_count($$;) |
|
| Line 1099 sub get_subentries_count($$;) |
|
| my $img_pattern = ($self->config('GalleryImgFile') or '\.(jpe?g|png|tiff?|ppm)$'); |
my $img_pattern = ($self->config('GalleryImgFile') or '\.(jpe?g|png|tiff?|ppm)$'); |
| |
|
| opendir(DIR, "$topdir/$dir") or return $data; |
opendir(DIR, "$topdir/$dir") or return $data; |
| my @files = grep { !/^\./ && -f "$topdir/$dir/$_" } readdir (DIR); |
my @files = grep { !/^\./ && !/^CVS$/ && -f "$topdir/$dir/$_" } readdir (DIR); |
| rewinddir(DIR); |
rewinddir(DIR); |
| my @dirs = grep { !/^\./ && -d "$topdir/$dir/$_" } readdir (DIR); |
my @dirs = grep { !/^\./ && !/^CVS$/ && -d "$topdir/$dir/$_" } readdir (DIR); |
| closedir(DIR); |
closedir(DIR); |
| |
|
| my @new_files = (); |
my @new_files = (); |
Platon Group <platon@platon.org> http://platon.org/
|
|