diff options
author | Andreas Gohr <andi@splitbrain.org> | 2024-09-08 18:09:28 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2024-09-08 18:09:28 +0200 |
commit | 944e9ba7254387adb60f253b0d8796f2276096b1 (patch) | |
tree | 982cc1234b1c4060bd58d72ce72a59d0f341d1cb /lib/scripts/linkwiz.js | |
parent | 6de67ec6f9efe768b902ace7eb42cda8bff62725 (diff) | |
download | dokuwiki-944e9ba7254387adb60f253b0d8796f2276096b1.tar.gz dokuwiki-944e9ba7254387adb60f253b0d8796f2276096b1.zip |
use a dispatcher to access static image files
This makes it possible to replace default images in an update safe way.
It also addresses the issue raised in dokuwiki/docker#16
A .htaccess rewrite catches any direct accesses that might come in from
plugins.
Diffstat (limited to 'lib/scripts/linkwiz.js')
-rw-r--r-- | lib/scripts/linkwiz.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/scripts/linkwiz.js b/lib/scripts/linkwiz.js index d82ca9681..c515e364e 100644 --- a/lib/scripts/linkwiz.js +++ b/lib/scripts/linkwiz.js @@ -293,7 +293,7 @@ var dw_linkwiz = { autocomplete_exec: function(){ var $res = jQuery(dw_linkwiz.result); dw_linkwiz.deselect(); - $res.html('<img src="'+DOKU_BASE+'lib/images/throbber.gif" alt="" width="16" height="16" />') + $res.html('<img src="'+DOKU_BASE+'lib/exe/image.php/throbber.gif" alt="" width="16" height="16" />') .load( DOKU_BASE + 'lib/exe/ajax.php', { |