diff options
author | Andreas Gohr <andi@splitbrain.org> | 2024-09-08 18:15:53 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2024-09-08 18:15:53 +0200 |
commit | e44b94a4bd0679ff22e14add34b60590fe7077d3 (patch) | |
tree | f850096e4c7d5645ecd0bf5b33a9f6ef18607113 /inc/Menu/Item/Edit.php | |
parent | 944e9ba7254387adb60f253b0d8796f2276096b1 (diff) | |
download | dokuwiki-e44b94a4bd0679ff22e14add34b60590fe7077d3.tar.gz dokuwiki-e44b94a4bd0679ff22e14add34b60590fe7077d3.zip |
Revert "use a dispatcher to access static image files"
This reverts commit 944e9ba7254387adb60f253b0d8796f2276096b1.
It was accidentally pused to master before review. A PR with a revert
for the revert will be pushed shortly.
Diffstat (limited to 'inc/Menu/Item/Edit.php')
-rw-r--r-- | inc/Menu/Item/Edit.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/inc/Menu/Item/Edit.php b/inc/Menu/Item/Edit.php index f778c7981..c063ca28a 100644 --- a/inc/Menu/Item/Edit.php +++ b/inc/Menu/Item/Edit.php @@ -2,8 +2,6 @@ namespace dokuwiki\Menu\Item; -use dokuwiki\File\StaticImage; - /** * Class Edit * @@ -63,7 +61,7 @@ class Edit extends AbstractItem 'source' => '05-source_file-xml.svg' ]; if (isset($icons[$this->type])) { - $this->svg = StaticImage::path('menu/' . $icons[$this->type]); + $this->svg = DOKU_INC . 'lib/images/menu/' . $icons[$this->type]; } } } |