[LON-CAPA-cvs] cvs: loncom /interface domainprefs.pm

raeburn raeburn at source.lon-capa.org
Thu Aug 24 20:07:45 EDT 2017


raeburn		Fri Aug 25 00:07:45 2017 EDT

  Modified files:              
    /loncom/interface	domainprefs.pm 
  Log:
  - Domain used in subdirectory for storage of textbook cover image
    set to textbook course's domain.
  
  
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.311 loncom/interface/domainprefs.pm:1.312
--- loncom/interface/domainprefs.pm:1.311	Fri Aug 25 00:04:29 2017
+++ loncom/interface/domainprefs.pm	Fri Aug 25 00:07:45 2017
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: domainprefs.pm,v 1.311 2017/08/25 00:04:29 raeburn Exp $
+# $Id: domainprefs.pm,v 1.312 2017/08/25 00:07:45 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -9812,7 +9812,7 @@
         } elsif ($author_ok eq 'ok') {
             my ($result,$imageurl) =
                 &publishlogo($r,'upload',$caller,$dom,$confname,
-                             "$type/$dom/$cnum/cover",$width,$height);
+                             "$type/$cdom/$cnum/cover",$width,$height);
             if ($result eq 'ok') {
                 $url = $imageurl;
             } else {




More information about the LON-CAPA-cvs mailing list