--- loncom/interface/domainprefs.pm 2011/10/23 23:46:02 1.157 +++ loncom/interface/domainprefs.pm 2011/10/30 22:19:15 1.158 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set domain-wide configuration settings # -# $Id: domainprefs.pm,v 1.157 2011/10/23 23:46:02 www Exp $ +# $Id: domainprefs.pm,v 1.158 2011/10/30 22:19:15 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -4934,7 +4934,7 @@ sub publishlogo { # See if there is anything left unless ($fname) { return ('error: no uploaded file'); } $fname="$subdir/$fname"; - my $filepath='/home/httpd/html/priv/'.$dom.'/'.$confname; + my $filepath=$r->dir_config('lonDocRoot')."/priv/$dom/$confname"; my ($fnamepath,$file,$fetchthumb); $file=$fname; if ($fname=~m|/|) {