fixed some xhhtml stuff

increased performance on burst protection
This commit is contained in:
JT Smith 2006-04-07 19:35:31 +00:00
parent ddeee5fbe8
commit adea847875
8 changed files with 34 additions and 30 deletions

View file

@ -85,7 +85,7 @@ sub new {
#-------------------------------------------------------------------
=head2 print ( content )
=head2 print ( content, skipMacros )
Outputs content to either the web server or standard out, depending on which is available.
@ -93,12 +93,17 @@ Outputs content to either the web server or standard out, depending on which is
The content to output.
=head3 skipMacros
A boolean indicating whether to skip macro processing on this content.
=cut
sub print {
my $self = shift;
my $content = shift;
WebGUI::Macro::process($self->session, \$content);
my $skipMacros = shift;
WebGUI::Macro::process($self->session, \$content) unless $skipMacros;
print $content;
}