From 686e4d8cf9a69012cbf92983a787644d583bdcd8 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 23 Apr 2004 12:50:34 +0000 Subject: fix up includes with Apache::ASP --- htetc/global.asa | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'htetc') 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) ) { -- cgit v1.2.1