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

autoloader needs return, plugins should be required not included

parent 4a0b7669
No related branches found
No related tags found
No related merge requests found
......@@ -125,9 +125,10 @@ function load_autoload($name){
$c = ((count($m) === 4) ? "/{$m[3]}" : '');
$plg = DOKU_PLUGIN . "{$m[2]}/{$m[1]}$c.php";
if(file_exists($plg)){
include $plg;
require $plg;
}
return true;
}
return false;
}
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