use Maypole::Config;
our @ISA;
-our $VERSION = '2.09';
+our $VERSION = '2.11';
sub import {
my ( $class, @plugins ) = @_;
$frontend ||= 'CGI::Maypole';
$frontend->require or die "Loading $frontend frontend failed: $@";
- push @ISA, $frontend;
+ # inheritance may already be set up in a multi-app mod_perl environment
+ push @ISA, $frontend unless __PACKAGE__->isa( $frontend );
my $autosetup=0;
my @plugin_modules;
my $plugin = "Maypole::Plugin::$_";
if ($plugin->require) {
push @plugin_modules, "Maypole::Plugin::$_";
- unshift @ISA, "Maypole::Plugin::$_";
warn "Loaded plugin: $plugin for $caller"
if $caller->can('debug') && $caller->debug;
} else {