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

www www at source.lon-capa.org
Mon Oct 24 19:29:34 EDT 2011


www		Mon Oct 24 23:29:34 2011 EDT

  Modified files:              
    /loncom/interface	lonmenu.pm 
  Log:
  Bug #1320
  
  
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.353 loncom/interface/lonmenu.pm:1.354
--- loncom/interface/lonmenu.pm:1.353	Fri Oct 21 19:26:23 2011
+++ loncom/interface/lonmenu.pm	Mon Oct 24 23:29:33 2011
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the menu
 #
-# $Id: lonmenu.pm,v 1.353 2011/10/21 19:26:23 www Exp $
+# $Id: lonmenu.pm,v 1.354 2011/10/24 23:29:33 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -334,9 +334,7 @@
             and (   $env{'request.noversionuri'} eq '' 
                  || !defined($env{'request.noversionuri'}))) 
         {
-            ($escurl = $env{'request.filename'}) =~ 
-                s{^/home/([^/]+)/public_html/(.*)$}{/priv/$1/$2};
-
+            ($escurl = $env{'request.filename'}) =~ s{^/home/httpd/html}{};
             $escurl  = &escape($escurl);
         }    
         $menu =~ s/\[url\]/$escurl/g;




More information about the LON-CAPA-cvs mailing list