diff options
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 { |