summaryrefslogtreecommitdiff
path: root/inc/plugincontroller.class.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-05-20 09:44:46 +0200
committerAndreas Gohr <andi@splitbrain.org>2012-05-20 09:46:22 +0200
commit5a9866e97863490816d932e98e8e170e49405d43 (patch)
treeab066ef488e4ea95a669d1c25ac65367b931a233 /inc/plugincontroller.class.php
parentba6e9e9bd8c1ead8b4cd4afabf582b979b8b30e2 (diff)
downloadrpg-5a9866e97863490816d932e98e8e170e49405d43.tar.gz
rpg-5a9866e97863490816d932e98e8e170e49405d43.tar.bz2
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.
Diffstat (limited to 'inc/plugincontroller.class.php')
-rw-r--r--inc/plugincontroller.class.php2
1 files changed, 1 insertions, 1 deletions
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;