hehe, this should help out everybody without DBIx::Profile (i.e. everybody)
authorivan <ivan>
Tue, 4 Sep 2001 09:54:43 +0000 (09:54 +0000)
committerivan <ivan>
Tue, 4 Sep 2001 09:54:43 +0000 (09:54 +0000)
htetc/global.asa

index d6e0bbe..00c6852 100644 (file)
@@ -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'} = {};
-#  }
+  }
 }