|
|
@ -249,6 +249,7 @@ class PluginHost {
|
|
|
|
|
|
|
|
|
|
|
|
$this->last_registered = $class;
|
|
|
|
$this->last_registered = $class;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
switch ($kind) {
|
|
|
|
switch ($kind) {
|
|
|
|
case $this::KIND_SYSTEM:
|
|
|
|
case $this::KIND_SYSTEM:
|
|
|
|
if ($this->is_system($plugin)) {
|
|
|
|
if ($this->is_system($plugin)) {
|
|
|
@ -267,6 +268,11 @@ class PluginHost {
|
|
|
|
$this->register_plugin($class, $plugin);
|
|
|
|
$this->register_plugin($class, $plugin);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
} catch (Exception $ex) {
|
|
|
|
|
|
|
|
user_error($ex, E_USER_WARNING);
|
|
|
|
|
|
|
|
} catch (Error $err) {
|
|
|
|
|
|
|
|
user_error($err, E_USER_WARNING);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|