--- loncom/interface/printout.pl 2004/02/06 14:16:39 1.45 +++ loncom/interface/printout.pl 2004/02/11 00:19:49 1.46 @@ -1,7 +1,7 @@ #!/usr/bin/perl # CGI-script to run LaTeX, dvips, ps2ps, ps2pdf etc. # -# $Id: printout.pl,v 1.45 2004/02/06 14:16:39 sakharuk Exp $ +# $Id: printout.pl,v 1.46 2004/02/11 00:19:49 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -33,6 +33,7 @@ use File::Path; use IO::File; use Image::Magick; +my %origENV=%ENV; if (! &LONCAPA::loncgi::check_cookie_and_load_env()) { print <