version 1.3, 2002/05/11 21:31:00
|
version 1.6, 2003/09/01 03:37:27
|
Line 1
|
Line 1
|
#!/usr/bin/perl |
#!/usr/bin/perl |
|
# Gets keywords from metadata database. |
|
# $Id$ |
# |
# |
# The LearningOnline Network with CAPA |
# Copyright Michigan State University Board of Trustees |
# |
# |
# Gets keywords from metadata database. |
# This file is part of the LearningOnline Network with CAPA (LON-CAPA). |
|
# |
|
# LON-CAPA is free software; you can redistribute it and/or modify |
|
# it under the terms of the GNU General Public License as published by |
|
# the Free Software Foundation; either version 2 of the License, or |
|
# (at your option) any later version. |
|
# |
|
# LON-CAPA is distributed in the hope that it will be useful, |
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
# GNU General Public License for more details. |
# |
# |
# YEAR=2001 |
# You should have received a copy of the GNU General Public License |
# 9/25 Scott Harrison |
# along with LON-CAPA; if not, write to the Free Software |
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
# |
# |
# YEAR=2002 |
# /home/httpd/html/adm/gpl.txt |
# 5/11 Scott Harrison |
|
# |
# |
|
# http://www.lon-capa.org/ |
|
# |
|
|
|
|
############################################################################### |
############################################################################### |
## ## |
## ## |
Line 58 print 'Content-type: text/plain'."\n\n";
|
Line 73 print 'Content-type: text/plain'."\n\n";
|
|
|
# --- Make sure that database can be accessed and that this is a library server |
# --- Make sure that database can be accessed and that this is a library server |
# library server test |
# library server test |
my $perlvarref=LONCAPA::Configuration::read_conf('access.conf','loncapa.conf'); |
|
|
# By default, loncapa_apache.conf is also read by the read_conf subroutine. |
|
my $perlvarref=LONCAPA::Configuration::read_conf('loncapa.conf'); |
my %perlvar=%{$perlvarref}; |
my %perlvar=%{$perlvarref}; |
undef($perlvarref); |
undef($perlvarref); |
|
|