From b1a492b8f492e811559bc6d442e4e34e7760b837 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Thu, 28 Sep 2006 16:03:08 +0000 Subject: [PATCH] Remove hardwired "use lib" path -- now taken from Apache config. --- web/htdocs/chrome/layout.mc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/web/htdocs/chrome/layout.mc b/web/htdocs/chrome/layout.mc index 00db5f2..1b4dd20 100644 --- a/web/htdocs/chrome/layout.mc +++ b/web/htdocs/chrome/layout.mc @@ -1,11 +1,15 @@ -%# $Id: layout.mc,v 1.8 2006-09-26 09:30:28 mike Exp $ +%# $Id: layout.mc,v 1.9 2006-09-28 16:03:08 mike Exp $ <%args> $debug => undef $title $component <%once> -use lib "/usr/local/src/cvs/irspy/lib"; +BEGIN { + use vars qw($LIBDIR); + $LIBDIR = $r->dir_config("IRSpyLibDir"); +} +use lib $LIBDIR; use ZOOM::IRSpy::Web; use ZOOM::IRSpy::Record qw(xml_encode); -- 1.7.10.4