summaryrefslogtreecommitdiff
path: root/inc/plugincontroller.class.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2009-02-16 19:03:24 +0100
committerAndreas Gohr <andi@splitbrain.org>2009-02-16 19:03:24 +0100
commite98a893a1f0fcc3a342776b0825bf5b4ba55c3b9 (patch)
treef58b4142d4509d3e06b712a4b811c3908b4d470e /inc/plugincontroller.class.php
parent6b6b9e2699e5bbdef7b605a5b58c7827ad5137d2 (diff)
downloadrpg-e98a893a1f0fcc3a342776b0825bf5b4ba55c3b9.tar.gz
rpg-e98a893a1f0fcc3a342776b0825bf5b4ba55c3b9.tar.bz2
suppress errors when trying to load a non existant plugin
Ignore-this: 21eafbc145c8abfeb8450d9a1234bae1 darcs-hash:20090216180324-7ad00-2628f381cee27f24f120016a970aabca7d853c7c.gz
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 924a475e0..f12c0826a 100644
--- a/inc/plugincontroller.class.php
+++ b/inc/plugincontroller.class.php
@@ -79,7 +79,7 @@ class Doku_Plugin_Controller {
$dir = $this->get_directory($plugin);
$file = $component ? "$type/$component.php" : "$type.php";
- if (!include_once(DOKU_PLUGIN."$dir/$file")) {
+ if (!@include_once(DOKU_PLUGIN."$dir/$file")) {
return null;
}