template dir is passed in via load param
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 26 Jul 2005 19:32:04 +0000 (19:32 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 26 Jul 2005 19:32:04 +0000 (19:32 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1503 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/WWW/Web.pm

index 99034f5..f483465 100644 (file)
@@ -21,9 +21,14 @@ my $init_ttk = "opac/logic/page_init.ttk";
 my $bootstrap = "/pines/conf/bootstrap.conf";
 my $child_init_ttk = "opac/logic/child_init.ttk";
 
-my $includes = [  
-                               '/pines/cvs/ILS/Open-ILS/src/templates'
-                       ];
+my $includes = [];  # [  '/pines/cvs/ILS/Open-ILS/src/templates' ];
+
+sub import {
+       my( $self, $tdir ) = @_;
+       $includes = [ $tdir ];
+}
+
+
 
 my $plugin_base = 'OpenILS::Template::Plugin';