|
@@ -22,8 +22,8 @@ class syntax_plugin_icons_flag extends syntax_plugin_icons_icon {
|
|
|
|
|
|
if ($translation = plugin_load('helper', 'translation')) {
|
|
|
|
|
|
- $translation_url = rtrim(DOKU_URL.DOKU_BASE, '/') . '/lib/plugins/translation/flags';
|
|
|
- $translation_path = rtrim(DOKU_PLUGIN, '/') . '/translation/flags';
|
|
|
+ $translation_url = rtrim(DOKU_BASE, '/') . '/lib/plugins/translation/flags';
|
|
|
+ $translation_path = rtrim(DOKU_PLUGIN, '/') . '/translation/flags';
|
|
|
|
|
|
if (file_exists("$translation_path/$icon.gif")) {
|
|
|
return "$translation_url/$icon.gif";
|