mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-06-27 18:00:23 +02:00
Merge aa05c28a1f
into 8486c7a240
This commit is contained in:
commit
051c19dd99
|
@ -2574,7 +2574,7 @@ function fm_is_exclude_items($file) {
|
||||||
*/
|
*/
|
||||||
function fm_get_translations($tr) {
|
function fm_get_translations($tr) {
|
||||||
try {
|
try {
|
||||||
$content = @file_get_contents('translation.json');
|
$content = @file_get_contents('https://raw.githubusercontent.com/prasathmani/tinyfilemanager/master/translation.json');
|
||||||
if($content !== FALSE) {
|
if($content !== FALSE) {
|
||||||
$lng = json_decode($content, TRUE);
|
$lng = json_decode($content, TRUE);
|
||||||
global $lang_list;
|
global $lang_list;
|
||||||
|
|
Loading…
Reference in a new issue