[LON-CAPA-cvs] cvs: loncom(version_2_1_X) /lonnet/perl lonnet.pm

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 11 Jan 2006 08:07:35 -0000


albertel		Wed Jan 11 03:07:35 2006 EDT

  Modified files:              (Branch: version_2_1_X)
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - cse101 wants access to  $ENV{'SERVER_NAME'} trhough EXT
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.683.2.7 loncom/lonnet/perl/lonnet.pm:1.683.2.8
--- loncom/lonnet/perl/lonnet.pm:1.683.2.7	Wed Jan 11 02:33:45 2006
+++ loncom/lonnet/perl/lonnet.pm	Wed Jan 11 03:07:34 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.683.2.7 2006/01/11 07:33:45 albertel Exp $
+# $Id: lonnet.pm,v 1.683.2.8 2006/01/11 08:07:34 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4930,6 +4930,11 @@
 	if ($space eq 'time') {
 	    return time;
         }
+    } elsif ($realm eq 'server') {
+# ----------------------------------------------------------------- system.time
+	if ($space eq 'name') {
+	    return $ENV{'SERVER_NAME'};
+        }
     }
     return '';
 }