소스 검색

plugin base: translation bug

Laurent Opprecht 13 년 전
부모
커밋
792d78ecfb
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      main/inc/lib/plugin.class.php

+ 2 - 2
main/inc/lib/plugin.class.php

@@ -153,9 +153,9 @@ class Plugin
             global $language_interface;
 
             $root = api_get_path(SYS_PLUGIN_PATH);
-            $name = $this->get_name();
+            $plugin_name = $this->get_name();
             $language = $language_interface;
-            $path = "$root/$name/lang/$language.php";
+            $path = "$root/$plugin_name/lang/$language.php";
             if (is_readable($path))
             {
                 include $path;