From a0cba6564f5b42c0882ef1c6837677544d1ffb9f Mon Sep 17 00:00:00 2001 From: "M.Dent" Date: Sat, 7 Apr 2018 23:12:39 -0400 Subject: Uninstall plugin on Exception on load. --- include/plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/plugin.php b/include/plugin.php index 2ef33e6fa..2084f9107 100755 --- a/include/plugin.php +++ b/include/plugin.php @@ -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; } -- cgit v1.2.3