[LON-CAPA-cvs] cvs: loncom /metadata_database searchcat.pl

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 27 Jan 2006 15:25:06 -0000


albertel		Fri Jan 27 10:25:06 2006 EDT

  Modified files:              
    /loncom/metadata_database	searchcat.pl 
  Log:
  - Apache 2 compatability
  
  
Index: loncom/metadata_database/searchcat.pl
diff -u loncom/metadata_database/searchcat.pl:1.64 loncom/metadata_database/searchcat.pl:1.65
--- loncom/metadata_database/searchcat.pl:1.64	Thu Aug 11 14:19:41 2005
+++ loncom/metadata_database/searchcat.pl	Fri Jan 27 10:25:05 2006
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # searchcat.pl "Search Catalog" batch script
 #
-# $Id: searchcat.pl,v 1.64 2005/08/11 18:19:41 albertel Exp $
+# $Id: searchcat.pl,v 1.65 2006/01/27 15:25:05 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -65,7 +65,9 @@
 =cut
 
 use strict;
-
+BEGIN {
+    eval "use Apache2::compat();";
+};
 use DBI;
 use lib '/home/httpd/lib/perl/';
 use LONCAPA::lonmetadata;