|
|
@@ -156,10 +156,6 @@ class Plugin
|
|
|
|
|
|
static::$_plugins[$plugin] = $config;
|
|
|
|
|
|
- if ($config['bootstrap'] === true) {
|
|
|
- static::bootstrap($plugin);
|
|
|
- }
|
|
|
-
|
|
|
if ($config['autoload'] === true) {
|
|
|
if (empty(static::$_loader)) {
|
|
|
static::$_loader = new ClassLoader;
|
|
|
@@ -174,6 +170,10 @@ class Plugin
|
|
|
$config['path'] . 'tests' . DS
|
|
|
);
|
|
|
}
|
|
|
+
|
|
|
+ if ($config['bootstrap'] === true) {
|
|
|
+ static::bootstrap($plugin);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
/**
|