[LON-CAPA-cvs] cvs: loncom(version_2_2_X) /interface lonmsgdisplay.pm

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 04 Oct 2006 20:28:21 -0000


albertel		Wed Oct  4 16:28:21 2006 EDT

  Modified files:              (Branch: version_2_2_X)
    /loncom/interface	lonmsgdisplay.pm 
  Log:
  - backport 1.41
  
  
Index: loncom/interface/lonmsgdisplay.pm
diff -u loncom/interface/lonmsgdisplay.pm:1.35.2.5 loncom/interface/lonmsgdisplay.pm:1.35.2.6
--- loncom/interface/lonmsgdisplay.pm:1.35.2.5	Mon Aug 28 20:28:51 2006
+++ loncom/interface/lonmsgdisplay.pm	Wed Oct  4 16:28:21 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines for messaging display
 #
-# $Id: lonmsgdisplay.pm,v 1.35.2.5 2006/08/29 00:28:51 albertel Exp $
+# $Id: lonmsgdisplay.pm,v 1.35.2.6 2006/10/04 20:28:21 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1790,7 +1790,7 @@
     
     my $extra = &Apache::loncommon::studentbrowser_javascript();
     if ($baseurl) {
-	$extra .= "<base href=\"http://$ENV{'SERVER_NAME'}/$baseurl\" />";
+	$extra .= "<base href=\"".&Apache::lonnet::absolute_url()."/$baseurl\" />";
     }
     $r->print(&Apache::loncommon::start_page('Communication and Messages',
  					$extra));