From 5a9866e97863490816d932e98e8e170e49405d43 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sun, 20 May 2012 09:44:46 +0200 Subject: do not surpress any errors when loading plugin files When a plugin file exists, we can assume it is the correct file and load it without error supression. This makes it much easier to detect and debug problematic plugins. --- inc/plugincontroller.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/plugincontroller.class.php') diff --git a/inc/plugincontroller.class.php b/inc/plugincontroller.class.php index 208d7dae9..11636fb91 100644 --- a/inc/plugincontroller.class.php +++ b/inc/plugincontroller.class.php @@ -169,7 +169,7 @@ class Doku_Plugin_Controller { $plugins = array(); foreach($files as $file) { if(file_exists($file)) { - @include_once($file); + include_once($file); } } return $plugins; -- cgit v1.2.3