Revision: 61 Author: matt Date: 2006-08-07 21:50:51 +0000 (Mon, 07 Aug 2006)
Log Message: ----------- Remove print debugging Modified Paths: -------------- trunk/lib/AxKit2/Config/Location.pm trunk/plugins/demo/gallery Modified: trunk/lib/AxKit2/Config/Location.pm =================================================================== --- trunk/lib/AxKit2/Config/Location.pm 2006-08-07 18:09:02 UTC (rev 60) +++ trunk/lib/AxKit2/Config/Location.pm 2006-08-07 21:50:51 UTC (rev 61) @@ -88,8 +88,7 @@ my $self = shift; my $method = $AUTOLOAD; $method =~ s/.*:://; - print "AUTOLOAD: $method\n"; $self->server->$method(@_); } -1; \ No newline at end of file +1; Modified: trunk/plugins/demo/gallery =================================================================== --- trunk/plugins/demo/gallery 2006-08-07 18:09:02 UTC (rev 60) +++ trunk/plugins/demo/gallery 2006-08-07 21:50:51 UTC (rev 61) @@ -198,7 +198,7 @@ opendir(DIR, $path); my ($prev, $next); my $found = 0; - while (my $entry = readdir(DIR)) { + for my $entry (sort readdir(DIR)) { next if $entry =~ /^\./; next if -d $entry; if ($entry eq $file) { @@ -528,7 +528,6 @@ } split(/\//, $uri)); my $dirpath = $self->client->headers_in->filename(); - print "URI: $uri\n"; my $mm = File::MMagic->new; @@ -586,8 +585,6 @@ $dom->documentElement->firstChild->appendWellBalancedChunk($config_xml); $dom->documentElement->appendWellBalancedChunk("<uri>$uri</uri>"); - print "Tranform: " . $dom->toString; - XML::LibXSLT->register_function("urn:ax-app-gallery", "epoch-to-date", sub { my $epoch = shift; my @p=gmtime($epoch); $p[4]++; $p[5]+=1900; return "$p[5]-$p[4]-$p[3]"; });