Skip to content
Snippets Groups Projects
Commit b00eb817 authored by Andreas Gohr's avatar Andreas Gohr
Browse files
parent b89dfc20
No related branches found
No related tags found
No related merge requests found
......@@ -117,7 +117,7 @@ function load_autoload($name){
// plugin namespace
if(substr($name, 0, 16) == 'dokuwiki/plugin/') {
$name = str_replace('/test/', '/_test/', $name); // no underscore in test namespace
$file = DOKU_PLUGIN . substr($name, 7) . '.php';
$file = DOKU_PLUGIN . substr($name, 16) . '.php';
if(file_exists($file)) {
require $file;
return true;
......
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