--- lib/PXElator/httpd.pm 2009/08/18 12:19:52 250
+++ lib/PXElator/httpd.pm 2009/08/18 12:46:41 251
@@ -125,9 +125,7 @@
warn "static $found" if $debug;
} elsif ( $path eq '/' ) {
- my @rows = (
- 'debug', qq|$debug|,
- );
+ my @rows;
my $debug_proc = '';
@@ -200,7 +198,12 @@
} elsif ( $path =~ m{^/server} ) {
print $client ok
- , html::table( 2, map { ( $_, html::tt eval '$server::'.$_ ) } ( 'ip', 'netmask', 'ip_from', 'ip_to', 'domain_name', 'base_dir', 'conf' ) )
+ , html::table( 2,
+ 'debug' => qq|$debug|,
+ map {
+ ( $_, html::tt eval '$server::'.$_ )
+ } ( 'ip', 'netmask', 'ip_from', 'ip_to', 'domain_name', 'base_dir', 'conf' )
+ )
;
} elsif ( $path =~ m!^/client(?:/$RE{net}{IPv4}{-keep})?! ) {
my $ip = $1 || $client->peerhost;