Diff for /loncom/publisher/Attic/lonconstruct.pm between versions 1.16 and 1.19

version 1.16, 2003/10/18 17:18:14 version 1.19, 2003/11/18 04:08:15
Line 45  use Apache::lonnet; Line 45  use Apache::lonnet;
 use Apache::Log ();  use Apache::Log ();
 use HTML::Entities();  use HTML::Entities();
   
 my $DEBUG = 1;  my $DEBUG = 0;
 =pod  =pod
   
 =item Debug($request, $message)  =item Debug($request, $message)
Line 99  sub handler { Line 99  sub handler {
    return OK if $r->header_only;     return OK if $r->header_only;
   
    my $lowerframe=$r->path_info;     my $lowerframe=$r->path_info;
   
    &Debug($r, "Initial URL for lower frame: ".$lowerframe);     &Debug($r, "Initial URL for lower frame: ".$lowerframe);
    $lowerframe=~s/^\//\/\~/;     $lowerframe=~s/^\//\/\~/;
    &Debug($r, "Lower frame URL afer ~ subst: ".$lowerframe);     &Debug($r, "Lower frame URL afer ~ subst: ".$lowerframe);
Line 123  sub handler { Line 122  sub handler {
    &Apache::loncommon::get_unprocessed_cgi     &Apache::loncommon::get_unprocessed_cgi
  ($ENV{'QUERY_STRING'},['decompress']);   ($ENV{'QUERY_STRING'},['decompress']);
    if ($ENV{'form.decompress'}) {     if ($ENV{'form.decompress'}) {
        $lowerframe='http://$ENV{'SERVER_NAME'}/cgi-bin/decompress.pl?decompress';   &Apache::lonnet::appenv('cgi.path' => $r->path_info);
    $lowerframe="http://$ENV{SERVER_NAME}/cgi-bin/decompress.pl";
   
    }     }
    $r->print(<<ENDPAGE);     $r->print(<<ENDPAGE);
 <html>  <html>

Removed from v.1.16  
changed lines
  Added in v.1.19


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>