Uninstall plugin on Exception on load.
This commit is contained in:
parent
35b4f0a863
commit
a0cba6564f
@ -128,7 +128,7 @@ function load_plugin($plugin) {
|
||||
try {
|
||||
$func();
|
||||
} catch (Exception $e) {
|
||||
handleerrors_plugin($plugin,"Unable to load.","FAILED loading : ".$e->getMessage());
|
||||
handleerrors_plugin($plugin,"Unable to load.","FAILED loading : ".$e->getMessage(),true);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user