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

raeburn raeburn at source.lon-capa.org
Wed Oct 16 14:17:23 EDT 2013


raeburn		Wed Oct 16 18:17:23 2013 EDT

  Modified files:              
    /loncom/publisher	lonpublisher.pm 
  Log:
  - Reverse one change in rev 1.273 (bug 1320) so recursive publication
    of subdirectories works again.
  
  
Index: loncom/publisher/lonpublisher.pm
diff -u loncom/publisher/lonpublisher.pm:1.284 loncom/publisher/lonpublisher.pm:1.285
--- loncom/publisher/lonpublisher.pm:1.284	Thu Jul 18 16:28:50 2013
+++ loncom/publisher/lonpublisher.pm	Wed Oct 16 18:17:23 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Publication Handler
 #
-# $Id: lonpublisher.pm,v 1.284 2013/07/18 16:28:50 bisitz Exp $
+# $Id: lonpublisher.pm,v 1.285 2013/10/16 18:17:23 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1925,7 +1925,7 @@
 	    if ($filename=~/\.(\w+)$/) { $extension=$1; }
 	    if ($cmode&$dirptr) {
 		if (($filename!~/^\./) && ($env{'form.pubrec'})) {
-		    &publishdirectory($r,$docroot.$fn.'/'.$filename,$thisdisfn.'/'.$filename);
+		    &publishdirectory($r,$fn.'/'.$filename,$thisdisfn.'/'.$filename);
 		}
 	    } elsif ((&Apache::loncommon::fileembstyle($extension) ne 'hdn') &&
 		     ($filename!~/^[\#\.]/) && ($filename!~/\~$/)) {




More information about the LON-CAPA-cvs mailing list