summaryrefslogtreecommitdiff
path: root/htetc
diff options
context:
space:
mode:
authorivan <ivan>2001-09-04 09:54:43 +0000
committerivan <ivan>2001-09-04 09:54:43 +0000
commitfa4ef69deac5cc5a181a3a71a630255a96ef5c03 (patch)
treebf29cfe92d049af741ba6aa823050c78e0dee9ef /htetc
parenta296741e258d3433ed44652903f2f47467c41d2c (diff)
hehe, this should help out everybody without DBIx::Profile (i.e. everybody)
Diffstat (limited to 'htetc')
-rw-r--r--htetc/global.asa4
1 files changed, 2 insertions, 2 deletions
diff --git a/htetc/global.asa b/htetc/global.asa
index d6e0bbe..00c6852 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'} = {};
-# }
+ }
}