Koha/mainpage.pl

15 lines
337 B
Perl
Executable file

#!/usr/bin/perl
use HTML::Template;
use strict;
require Exporter;
use C4::Database;
use C4::Output; # contains picktemplate
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;