diff options
-rw-r--r-- | htetc/global.asa | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/htetc/global.asa b/htetc/global.asa index d6e0bbea2..00c6852fb 100644 --- a/htetc/global.asa +++ b/htetc/global.asa @@ -18,7 +18,7 @@ sub Script_OnStart { sub Script_OnFlush { my $ref = $Response->{BinaryRef}; $$ref = $cgi->header( '-expires' => 'now' ) . $$ref; -# if ( dbh->can('sprintProfile') ) { + if ( dbh->can('sprintProfile') ) { $$ref =~ s/<\/BODY>[\s\n]*<\/HTML>[\s\n]*$//i or warn "can't remove"; @@ -28,5 +28,5 @@ sub Script_OnFlush { $$ref .= '</BODY></HTML>'; dbh->{'private_profile'} = {}; -# } + } } |