--- loncom/publisher/Attic/lonconstruct.pm 2004/10/29 18:40:40 1.23 +++ loncom/publisher/Attic/lonconstruct.pm 2004/12/10 18:26:49 1.27 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Construction Space Page Wrapper for Construction # -# $Id: lonconstruct.pm,v 1.23 2004/10/29 18:40:40 raeburn Exp $ +# $Id: lonconstruct.pm,v 1.27 2004/12/10 18:26:49 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -40,7 +40,7 @@ package Apache::lonconstruct; use strict; -use Apache::Constants qw(:common :http :methods REDIRECT); +use Apache::Constants qw(:common :http :methods); use Apache::lonnet; use Apache::Log (); use HTML::Entities(); @@ -123,7 +123,7 @@ sub handler { # my $toprows = 0; my $topsrc = ''; - if ($ENV{'environment.remote'} eq 'on') { + if ($ENV{'environment.remote'} ne 'off') { $toprows = '110'; $topsrc = '/adm/localize/adm/publisher.html'; }