Remove hardwired "use lib" path -- now taken from Apache config.
authorMike Taylor <mike@indexdata.com>
Thu, 28 Sep 2006 16:03:08 +0000 (16:03 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 28 Sep 2006 16:03:08 +0000 (16:03 +0000)
web/htdocs/chrome/layout.mc

index 00db5f2..1b4dd20 100644 (file)
@@ -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
 </%args>
 <%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);
 </%once>