From 729cafbb7cdb6a71cfd93cb0317e43160b3b8c50 Mon Sep 17 00:00:00 2001 From: miker Date: Sun, 31 Jul 2005 02:04:18 +0000 Subject: [PATCH] updating for mod_perl on apache2 git-svn-id: svn://svn.open-ils.org/ILS/trunk@1581 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/extras/opensearch.pm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Open-ILS/src/extras/opensearch.pm b/Open-ILS/src/extras/opensearch.pm index c0b8f582cd..6b35594639 100644 --- a/Open-ILS/src/extras/opensearch.pm +++ b/Open-ILS/src/extras/opensearch.pm @@ -3,12 +3,12 @@ use strict; use warnings; use Apache2 (); -use Apache::Log; -use Apache::Const -compile => qw(OK REDIRECT :log); +use Apache2::Log; +use Apache2::Const -compile => qw(OK REDIRECT :log); use APR::Const -compile => qw(:error SUCCESS); -use Apache::RequestRec (); -use Apache::RequestIO (); -use Apache::RequestUtil; +use Apache2::RequestRec (); +use Apache2::RequestIO (); +use Apache2::RequestUtil; use LWP::UserAgent; use CGI (); @@ -43,7 +43,7 @@ sub handler { ABSOLUTE => 1, RELATIVE => 1, PLUGIN_BASE => 'OpenILS::Template::Plugin', - INCLUDE_PATH => ['/pines/cvs/ILS/Open-ILS/src/extras'], + INCLUDE_PATH => ['/openils/var/templates/'], PRE_CHOMP => 1, POST_CHOMP => 1, } @@ -66,7 +66,7 @@ sub handler { return; }; } - return Apache::OK; + return Apache2::Const::OK; } 1; -- 2.43.2