diff options
author | ivan <ivan> | 2003-06-06 04:42:04 +0000 |
---|---|---|
committer | ivan <ivan> | 2003-06-06 04:42:04 +0000 |
commit | d2a32e633b46e7e248c593c5de6fc598de2b32cb (patch) | |
tree | e1c32826c51146cf9d4e74af064ff79c011ba9d1 /htetc | |
parent | 9bb4c3a8b4cc5313049ad043d2798e37ee210ae6 (diff) |
database profiling bs
i should just switch to mason
Diffstat (limited to 'htetc')
-rw-r--r-- | htetc/global.asa | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/htetc/global.asa b/htetc/global.asa index 5fd89957f..555364223 100644 --- a/htetc/global.asa +++ b/htetc/global.asa @@ -126,7 +126,9 @@ sub Script_OnFlush { } } -if ( defined(@DBIx::Profile::ISA) && DBIx::Profile::db->can('sprintProfile') ) { +#if ( defined(@DBIx::Profile::ISA) && DBIx::Profile::db->can('sprintProfile') ) { +#if ( defined(@DBIx::Profile::ISA) && UNIVERSAL::can('DBIx::Profile::db', 'sprintProfile') ) { +if ( defined(@DBIx::Profile::ISA) ) { #warn "enabling profiling redirects"; *CGI::redirect = sub { |