]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole/Application.pm
Release 2.08. Add Maypole::Config->template_extension, Maypole::Application adds...
[maypole.git] / lib / Maypole / Application.pm
index 18cd589fccf03e0f62f15c21047e2cbd5db76bda..3336c1f73cd7d1da68d9fbbb1c6677856e41b302 100644 (file)
@@ -7,7 +7,7 @@ use Maypole;
 use Maypole::Config;
 
 our @ISA;
-our $VERSION = '2.07';
+our $VERSION = '2.08';
 
 sub import {
     my ( $self, @plugins ) = @_;
@@ -28,7 +28,7 @@ sub import {
             if ($@) { warn qq(Loading plugin "Maypole::Plugin::$_" failed: $@) }
             else {
                 warn "Loaded plugin: Maypole::Plugin::$_" if $caller->debug;
-                unshift @ISA, "Maypole::Plugin::$_";
+                push @{"${caller}::ISA"}, "Maypole::Plugin::$_";
             }
         }
     }