Skip to content

Commit

Permalink
[#320 state:resolved] Fixed issue having to do with plugin's being un…
Browse files Browse the repository at this point in the history
…able to load their templates because their path was being set improperly.
  • Loading branch information
byrnereese committed Apr 21, 2010
1 parent 72d08ca commit 69ac3a0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/MT.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1422,7 +1422,9 @@ sub _init_plugins_core {
base => $plugin_full_path,
dir => $plugin_dir,
file => $file,
path => $plugin_file,
# TODO: remove following comment if app is stable
# Changed from $plugin_file because load_tmpl was failing
path => $plugin_full_path,
envelope => "$plugin_lastdir/" . $plugin_dir,
};
}
Expand Down Expand Up @@ -2145,7 +2147,6 @@ sub load_tmpl {
$param = pop @p;
}
my $cfg = $mt->config;
require MT::Template;
my $tmpl;
my @paths = $mt->template_paths;

Expand Down

0 comments on commit 69ac3a0

Please sign in to comment.