Don't prepend / to relative template paths collab/berick/templates-remove-default
authorBill Erickson <berick@esilibrary.com>
Thu, 1 Sep 2011 17:02:33 +0000 (13:02 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 1 Sep 2011 17:02:33 +0000 (13:02 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm

index 156d871..220dc9d 100644 (file)
@@ -227,7 +227,7 @@ sub find_template {
             }
             last if $template;
             push(@args, pop @parts);
-            $localpath = '/'.join('/', @parts);
+            $localpath = join('/', @parts);
         } 
 
         $page_args = [@args];