Changeset 100 in bookmarks for trunk


Ignore:
Timestamp:
07/01/15 16:15:18 (9 years ago)
Author:
peter
Message:

set the include path for the individual bookmark form template

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Bookmarks/Controller.pm

    r98 r100  
    5555    } else { 
    5656        # bookmark was not found; show the form to create a new bookmark 
    57         my $template = Template->new; 
     57        require File::Basename; 
     58        my $template = Template->new({ INCLUDE_PATH => File::Basename::dirname($INC{'Bookmarks/Controller.pm'}) }); 
    5859        $template->process( 
    5960            'bookmark.tt', 
Note: See TracChangeset for help on using the changeset viewer.