--- loncom/cgi/decompress.pl 2003/11/18 04:07:49 1.6
+++ loncom/cgi/decompress.pl 2005/04/07 06:56:21 1.13
@@ -1,8 +1,8 @@
#!/usr/bin/perl
#
-#
+#
# Copyright Michigan State University Board of Trustees
-#
+# $Id
#
# This file is part of the LearningOnline Network with CAPA (LON-CAPA).
#
@@ -29,87 +29,74 @@
# A CGI script that decompresses compressed files for mass uploading into
# construction space
####
-
-#Things still todo,
-#It has been tabinated
-#Now uses strict! with added feature of making everything very strict!
-#about 50% through rewriting things to use split and join
-#still have a lot of debugging statements that will go away after I get it to work ok(along with all the
's)
-#still have to rewrite the refresh tag to work right, its broken
-#the whole thing is broken right now
-#will rename the variables and reorder most of the script to make it more sane
-#improve the general readability of the whole thing, because unlike C everyone gets to look at it, so it has to be readable
-#will get to it tommorrow night as I have a calc test to "pass" yea, or something like that :0)
+use strict;
use lib '/home/httpd/lib/perl';
-use LONCAPA::Configuration;
-use LONCAPA::loncgi();
-use Apache::lonnet;
-use strict;
+use LONCAPA::loncgi;
-if(! &LONCAPA::loncgi::check_cookie_and_load_env()){
+if(! &LONCAPA::loncgi::check_cookie_and_load_env()) {
print "Content-type: text/html\n\n";
print <NO COOKIE!