WeBWorK Main Forum

Making a git repository for a local library

Re: hidden files visible to WeBWorK

by Raymond Moberly -
Number of replies: 0
The best guess for a fix to this was to add the grep clause:


sub readDirectory($) {
my $dirName = shift;
opendir my $dh, $dirName
or die "Failed to read directory $dirName: $!";
my @result = grep ! /^\./, readdir $dh;
close $dh;
return @result;
}

in Utils.pm.

It seems to require a system restart.