[LON-CAPA-cvs] cvs: loncom /publisher lonpubdir.pm

musolffc musolffc at source.lon-capa.org
Thu Jul 31 15:25:40 EDT 2014


musolffc		Thu Jul 31 19:25:40 2014 EDT

  Modified files:              
    /loncom/publisher	lonpubdir.pm 
  Log:
  Excluding display of .DAV files
  
  
Index: loncom/publisher/lonpubdir.pm
diff -u loncom/publisher/lonpubdir.pm:1.158 loncom/publisher/lonpubdir.pm:1.159
--- loncom/publisher/lonpubdir.pm:1.158	Sun Jun 29 03:33:23 2014
+++ loncom/publisher/lonpubdir.pm	Thu Jul 31 19:25:39 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Authoring Space Directory Lister
 #
-# $Id: lonpubdir.pm,v 1.158 2014/06/29 03:33:23 raeburn Exp $
+# $Id: lonpubdir.pm,v 1.159 2014/07/31 19:25:39 musolffc Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -170,9 +170,10 @@
     my $dirptr=16384;		# Mask indicating a directory in stat.cmode.
     my $filehash = {};
     foreach my $filename (@files) {
-        # Skip .DS_Store and hidden files
+        # Skip .DS_Store, .DAV and hidden files
         my ($extension) = ($filename=~/\.(\w+)$/);
         next if (($filename eq '.DS_Store')
+                || ($filename eq '.DAV')
                 || (&Apache::loncommon::fileembstyle($extension) eq 'hdn')
                 || ($filename =~ /^\._/));
 




More information about the LON-CAPA-cvs mailing list