@@ 59-61 (lines=3) @@ | ||
56 | $plugin = $_GET['plugin']; |
|
57 | if (file_exists(APP_ROOT.'/plugins/'.strtolower($plugin).'/lang/'.$lang.'.xml')) { |
|
58 | echo file_get_contents(APP_ROOT.'/plugins/'.strtolower($plugin).'/lang/'.$lang.'.xml'); |
|
59 | } elseif (file_exists(APP_ROOT.'/plugins/'.strtolower($plugin).'/lang/en.xml')) { |
|
60 | echo file_get_contents(APP_ROOT.'/plugins/'.strtolower($plugin).'/lang/en.xml'); |
|
61 | } |
|
62 | } |
|
63 | } else { |
|
64 | if (file_exists(APP_ROOT.'/language/'.$lang.'.xml')) { |
|
@@ 64-68 (lines=5) @@ | ||
61 | } |
|
62 | } |
|
63 | } else { |
|
64 | if (file_exists(APP_ROOT.'/language/'.$lang.'.xml')) { |
|
65 | echo file_get_contents(APP_ROOT.'/language/'.$lang.'.xml'); |
|
66 | } else { |
|
67 | echo file_get_contents(APP_ROOT.'/language/en.xml'); |
|
68 | } |
|
69 | } |
|
70 |