Koha/mainpage.pl
2002-10-28 20:02:57 +00:00

15 lines
338 B
Perl
Executable file

#!/usr/bin/perl
use HTML::Template;
use strict;
require Exporter;
use C4::Database;
use C4::Output; # contains gettemplate
use CGI;
use C4::Auth;
my $query = new CGI;
my ($loggedinuser, $cookie, $sessionID) = checkauth($query);
my $template = gettemplate("intranet-main.tmpl");
print "Content-Type: text/html\n\n", $template->output;