Skip to content
Snippets Groups Projects
Commit e98a893a authored by Andreas Gohr's avatar Andreas Gohr
Browse files

suppress errors when trying to load a non existant plugin

Ignore-this: 21eafbc145c8abfeb8450d9a1234bae1

darcs-hash:20090216180324-7ad00-2628f381cee27f24f120016a970aabca7d853c7c.gz
parent 6b6b9e26
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment