X-Git-Url: https://git.p6c8.net/selfforum.git/blobdiff_plain/e2e7aa7684b1d7b5c6824e04b4fd5368720817d0..944a9d6fad0266526530c0e27aa7474a80eb8ede:/selfforum-cgi/user/fo_view.pl?ds=sidebyside diff --git a/selfforum-cgi/user/fo_view.pl b/selfforum-cgi/user/fo_view.pl index 0aefde4..fb2ab8c 100644 --- a/selfforum-cgi/user/fo_view.pl +++ b/selfforum-cgi/user/fo_view.pl @@ -16,8 +16,8 @@ use CGI::Carp qw(fatalsToBrowser); use Conf; use Conf::Admin; -use Template::Forum; -use Template::Posting; +use autouse 'Template::Forum' => qw(print_forum_as_HTML($$$)); +use autouse 'Template::Posting' => qw(print_posting_as_HTML($$$)); use CGI qw(param header); @@ -25,8 +25,6 @@ print header(-type => 'text/html'); my $conf = read_script_conf ($Bin, $Shared, $Script); -#$conf -> {wwwRoot} = 'i:/i_selfhtml/htdocs' unless ($ENV{GATEWAY_INTERFACE} =~ /CGI/); - my $show = $conf -> {show}; my $show_forum = $show -> {Forum}; my $show_posting = $show -> {Posting};