Skip to content

Commit 678ae4f

Browse files
committed
fix issue in plugincontroller when loading plugins without info
1 parent 90293b2 commit 678ae4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/Extension/PluginController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public function load($type, $name, $new = false, $disabled = false)
107107
if (!class_exists($class, true)) {
108108
# the plugin might be in the wrong directory
109109
$inf = confToHash(DOKU_PLUGIN . "$plugin/plugin.info.txt");
110-
if ($inf['base'] && $inf['base'] != $plugin) {
110+
if (isset($inf['base']) && $inf['base'] != $plugin) {
111111
msg(
112112
sprintf(
113113
"Plugin installed incorrectly. Rename plugin directory '%s' to '%s'.",

0 commit comments

Comments
 (0)