Changeset 2487


Ignore:
Timestamp:
02/14/09 00:26:57 (4 years ago)
Author:
SvenDowideit
Message:

Item1073: respect the unix . file and dir prefix - don't try loading them as Plugin modules - Also, they are not within the module name spec for Perl modules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/lib/Foswiki/Configure/Types/SELECTCLASS.pm

    r1340 r2487  
    4949        foreach my $place (@$places) { 
    5050            if ( opendir( DIR, $place ) ) { 
     51                #next if ($place =~ /^\..*/); 
    5152                foreach my $subplace ( readdir DIR ) { 
    5253                    next unless $subplace =~ $pathel; 
     54                    #next if ($subplace =~ /^\..*/); 
    5355                    push( @newplaces, $place . '/' . $1 ); 
    5456                } 
     
    6668            foreach my $file ( readdir DIR ) { 
    6769                next unless $file =~ $leaf; 
     70                next if ($file =~ /^\..*/); 
    6871                $file =~ /^(.*)\.pm$/; 
    6972                my $module = "$place/$1"; 
Note: See TracChangeset for help on using the changeset viewer.