Changeset 178
- Timestamp:
- 02/27/06 01:56:35
- Files:
-
- trunk/plagger/lib/Plagger/Template.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plagger/lib/Plagger/Template.pm
r39 r178 2 2 use strict; 3 3 use base qw( Template ); 4 5 use FindBin; 6 use File::Spec; 4 7 5 8 use Template::Provider::Encoding 0.04; … … 9 12 my($class, $context) = @_; 10 13 11 my $path = $context->conf->{template_path} || 'templates';14 my $path = $context->conf->{template_path} || File::Spec->catfile($FindBin::Bin, "templates"); 12 15 my $paths = [ $path, "$path/plugins" ]; 13 16
