]> jspc29.x-matter.uni-frankfurt.de Git - trb3web.git/commitdiff
error?
authorJan Michel <j.michel@gsi.de>
Mon, 15 Dec 2014 18:27:42 +0000 (19:27 +0100)
committerJan Michel <j.michel@gsi.de>
Mon, 15 Dec 2014 18:27:42 +0000 (19:27 +0100)
index.pl

index b4b52902aebb54e02ff3044ce50bd8968e333244..41d0b1504fcb2ef6b580ce32fa47c16db0869e28 100755 (executable)
--- a/index.pl
+++ b/index.pl
@@ -1,9 +1,11 @@
 #!/usr/bin/perl -w
+print "Content-type: text/html\n\n";
+
 use strict;
 use warnings;
 use CGI::Carp qw(fatalsToBrowser);
 use frame;
-print "Content-type: text/html\n\n";
+
 
 my $file = $ENV{'QUERY_STRING'};
 $file = "main" unless (defined $file && $file =~ /^\w+$/ && -e "$file.htm");