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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 02 Sep 2004 19:34:46 -0000


albertel		Thu Sep  2 15:34:46 2004 EDT

  Modified files:              
    /loncom/publisher	lonpublisher.pm 
  Log:
  - .tmp files are the thumbnail renderings of a resource
  
  
Index: loncom/publisher/lonpublisher.pm
diff -u loncom/publisher/lonpublisher.pm:1.177 loncom/publisher/lonpublisher.pm:1.178
--- loncom/publisher/lonpublisher.pm:1.177	Wed Jul  7 17:23:31 2004
+++ loncom/publisher/lonpublisher.pm	Thu Sep  2 15:34:46 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Publication Handler
 #
-# $Id: lonpublisher.pm,v 1.177 2004/07/07 21:23:31 albertel Exp $
+# $Id: lonpublisher.pm,v 1.178 2004/09/02 19:34:46 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -472,7 +472,8 @@
     while ($filename=readdir(DIR)) {
 	if ($filename=~/\Q$srcf\E\.(\w+)$/) {
 	    my $subhost=$1;
-	    if (($subhost ne 'meta' && $subhost ne 'subscription') &&
+	    if (($subhost ne 'meta' && $subhost ne 'subscription' &&
+		 $subhost ne 'tmp') &&
                 ($subhost ne $Apache::lonnet::perlvar{'lonHostID'})) {
 		push(@subscribed,$subhost);
 	    }