From: Mike Taylor Date: Thu, 28 Sep 2006 16:03:08 +0000 (+0000) Subject: Remove hardwired "use lib" path -- now taken from Apache config. X-Git-Tag: CPAN-v1.02~54^2~960 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=b1a492b8f492e811559bc6d442e4e34e7760b837;p=irspy-moved-to-github.git Remove hardwired "use lib" path -- now taken from Apache config. --- 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);