[LON-CAPA-cvs] cvs: loncom /xml lonxml.pm

www lon-capa-cvs@mail.lon-capa.org
Thu, 21 Mar 2002 22:10:31 -0000


www		Thu Mar 21 17:10:31 2002 EDT

  Modified files:              
    /loncom/xml	lonxml.pm 
  Log:
  Was logging out on Explorer because it opened up itself.
  
  
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.159 loncom/xml/lonxml.pm:1.160
--- loncom/xml/lonxml.pm:1.159	Thu Mar 21 15:51:10 2002
+++ loncom/xml/lonxml.pm	Thu Mar 21 17:10:31 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # XML Parser Module 
 #
-# $Id: lonxml.pm,v 1.159 2002/03/21 20:51:10 www Exp $
+# $Id: lonxml.pm,v 1.160 2002/03/21 22:10:31 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -319,7 +319,8 @@
     my $forcereg=shift;
     my $target = shift;
     my $result = '';
-    if ($ENV{'request.publicaccess'}) {
+    if (($ENV{'request.publicaccess'}) || 
+       ($ENV{'REQUEST_URI'} eq '/res/adm/pages/menu.html')) {
 	return 
          '<script>function LONCAPAreg(){} function LONCAPAstale(){}</script>';
     }