Moved C4/Charset.pm to C4/Interface/CGI/Output.pm
[koha-equinox.git] / admin-home.pl
index 779883a..a71467c 100755 (executable)
@@ -4,7 +4,7 @@ use strict;
 use CGI;
 use C4::Auth;
 use C4::Output;
-use C4::Charset;
+use C4::Interface::CGI::Output;
 use C4::Database;
 use HTML::Template;
 
@@ -19,7 +19,4 @@ my ($template, $loggedinuser, $cookie)
                             });
 $template->param(loggeninuser => $loggedinuser);
 
-print $query->header(
-    -type => guesstype($template->output),
-    -cookie => $cookie
-),$template->output;
+output_html_with_http_headers $query, $cookie, $template->output;