diff options
Diffstat (limited to 'inc/pluginutils.php')
-rw-r--r-- | inc/pluginutils.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/pluginutils.php b/inc/pluginutils.php index a93cca936..0adba09f3 100644 --- a/inc/pluginutils.php +++ b/inc/pluginutils.php @@ -73,7 +73,7 @@ function &plugin_load($type,$name){ } //try to load the wanted plugin file - if (file_exists(DOKU_PLUGIN."$name/$type.php")){ + if (@file_exists(DOKU_PLUGIN."$name/$type.php")){ include_once(DOKU_PLUGIN."$name/$type.php"); }else{ list($plugin, $component) = preg_split("/_/",$name, 2); |