diff --git a/inc/load.php b/inc/load.php index c562fc24fa74d8ec1fed6223d248c879b2b9b9d2..39cb0fbb74739b6409e0687213a4a87f5a400b95 100644 --- a/inc/load.php +++ b/inc/load.php @@ -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;