Browse Source

Fix path in "Flag" icons with Translation Plugin

Giuseppe Di Terlizzi 10 years ago
parent
commit
7469f58b40
1 changed files with 2 additions and 2 deletions
  1. 2 2
      syntax/flag.php

+ 2 - 2
syntax/flag.php

@@ -22,8 +22,8 @@ class syntax_plugin_icons_flag extends syntax_plugin_icons_icon {
 
 
       if ($translation = plugin_load('helper', 'translation')) {
       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")) {
         if (file_exists("$translation_path/$icon.gif")) {
           return "$translation_url/$icon.gif";
           return "$translation_url/$icon.gif";