[LON-CAPA-cvs] cvs: rat / lonratsrv.pm

www www at source.lon-capa.org
Tue Oct 25 15:23:20 EDT 2011


www		Tue Oct 25 19:23:20 2011 EDT

  Modified files:              
    /rat	lonratsrv.pm 
  Log:
  Bug #1320
  
  
Index: rat/lonratsrv.pm
diff -u rat/lonratsrv.pm:1.41 rat/lonratsrv.pm:1.42
--- rat/lonratsrv.pm:1.41	Thu Nov 20 15:19:05 2008
+++ rat/lonratsrv.pm	Tue Oct 25 19:23:20 2011
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Server for RAT Maps
 #
-# $Id: lonratsrv.pm,v 1.41 2008/11/20 15:19:05 jms Exp $
+# $Id: lonratsrv.pm,v 1.42 2011/10/25 19:23:20 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -51,13 +51,6 @@
   $url=~s{/loadonly/ratserver$}{/save/ratserver};
   
   my $fn=$r->filename;
-  my $lonDocRoot=$r->dir_config('lonDocRoot');
-  if ( $fn =~ /\Q$lonDocRoot\E/ ) {
-      #internal authentication, needs fixup.
-      $fn = $url;
-      $fn=~s{^/~($LONCAPA::username_re)}{/home/$1/public_html};
-      $fn=~s{/[^/]*/ratserver$}{};
-  }
   my $errtext='';
   my $infotext='';
   my $outtext='';
@@ -115,4 +108,4 @@
 This is part of the LearningOnline Network with CAPA project
 described at http://www.lon-capa.org.
 
-=cut
\ No newline at end of file
+=cut




More information about the LON-CAPA-cvs mailing list