summaryrefslogtreecommitdiff
path: root/htetc
diff options
context:
space:
mode:
Diffstat (limited to 'htetc')
-rw-r--r--htetc/global.asa5
1 files changed, 2 insertions, 3 deletions
diff --git a/htetc/global.asa b/htetc/global.asa
index dace29527..4358e87b1 100644
--- a/htetc/global.asa
+++ b/htetc/global.asa
@@ -197,9 +197,8 @@ sub sprintAutoProfile {
}
sub include {
- ( my $file = shift ) =~ s(^/)();
- $Response->Include($file, @_);
- '';
+ ( my $file = shift ) =~ s(^/)(%%%FREESIDE_DOCUMENT_ROOT%%%/);
+ ${$Response->TrapInclude($file, @_)};
}
if ( defined(@DBIx::Profile::ISA) ) {