summaryrefslogtreecommitdiff
path: root/htetc
diff options
context:
space:
mode:
authorivan <ivan>2004-04-23 12:50:34 +0000
committerivan <ivan>2004-04-23 12:50:34 +0000
commit686e4d8cf9a69012cbf92983a787644d583bdcd8 (patch)
treec59958e6575d7d970aec3d92cb9a09860e198874 /htetc
parent87227cd405166484ca7b791b2bd3c8829ce8d969 (diff)
fix up includes with Apache::ASP
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) ) {