Moved C4/Charset.pm to C4/Interface/CGI/Output.pm
[koha_fer] / members-home.pl
index e910c30..b2730e0 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::Context;
 use HTML::Template;
 
@@ -18,7 +18,4 @@ my ($template, $loggedinuser, $cookie)
                             debug => 1,
                             });
 
-print $query->header(
-    -type => guesstype($template->output),
-    -cookie => $cookie
-),$template->output;
+output_html_with_http_headers $query, $cookie, $template->output;