13 lines
574 B
Plaintext
13 lines
574 B
Plaintext
$OpenBSD: patch-lib_Plagger_Template_pm,v 1.2 2010/10/22 20:28:17 jasper Exp $
|
|
--- lib/Plagger/Template.pm.orig Fri Oct 5 11:08:05 2007
|
|
+++ lib/Plagger/Template.pm Fri Oct 5 11:08:26 2007
|
|
@@ -11,7 +11,7 @@ use Template::Stash::ForceUTF8;
|
|
sub new {
|
|
my($class, $context, $plugin) = @_;
|
|
|
|
- my $path = $context->conf->{assets_path} || catfile($FindBin::Bin, "assets");
|
|
+ my $path = $context->conf->{assets_path} || catfile('${SHAREDIR}', "assets");
|
|
my $paths = [ catfile($path, "plugins", $plugin->class_id),
|
|
catfile($path, "common") ];
|
|
|