Skip to content
Permalink
Browse files

Fix MDI (Material Design Icon) icon path

  • Loading branch information...
LotarProject committed Apr 2, 2019
1 parent 721a78f commit 82bb89f516f6dda7bc2c0b260ddaa6b834c2c188
Showing with 4 additions and 4 deletions.
  1. +2 −2 inc/Template.php
  2. +2 −2 tpl/menu-admin.php
@@ -300,11 +300,11 @@ public function metaheadersHandler(\Doku_Event $event)
$svg_icon = $plugin->getMenuIcon();
if (! file_exists($svg_icon)) {
$svg_icon = template('images/menu/puzzle.svg');
$svg_icon = template('assets/mdi/svg/puzzle.svg');
}
} else {
$svg_icon = template('images/menu/puzzle.svg');
$svg_icon = template('assets/mdi/svg/puzzle.svg');
}
}
@@ -64,10 +64,10 @@
if (method_exists($plugin, 'getMenuIcon')) {
$icon = $plugin->getMenuIcon();
if (! file_exists($icon)) {
$icon = template('images/menu/puzzle.svg');
$icon = template('assets/mdi/svg/puzzle.svg');
}
} else {
$icon = template('images/menu/puzzle.svg');
$icon = template('assets/mdi/svg/puzzle.svg');
}
if (! $label) continue;

0 comments on commit 82bb89f

Please sign in to comment.
You can’t perform that action at this time.