1 package PciIds::Html::Debug;
4 use Apache2::Const qw(:common :http);
5 use PciIds::Html::Util;
8 my( $req, $args, $tables, $auth ) = @_;
9 genHtmlHead( $req, 'Test', undef );
10 print '<p>Logged in: '.$auth->{'authid'} if( defined $auth->{'authid'} );
11 print $auth->{'logerror'} if( defined $auth->{'logerror'} );
12 return OK unless defined $auth->{'authid'};
14 foreach( keys %ENV ) {
15 print encode( "$_: $ENV{$_}<br>" );