diff options
author | Andreas Gohr <andi@splitbrain.org> | 2009-02-16 19:03:24 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2009-02-16 19:03:24 +0100 |
commit | e98a893a1f0fcc3a342776b0825bf5b4ba55c3b9 (patch) | |
tree | f58b4142d4509d3e06b712a4b811c3908b4d470e /inc | |
parent | 6b6b9e2699e5bbdef7b605a5b58c7827ad5137d2 (diff) | |
download | rpg-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')
-rw-r--r-- | inc/plugincontroller.class.php | 2 |
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; } |