From aa05c28a1f79714136651df20164fed44ea858d2 Mon Sep 17 00:00:00 2001 From: Saied <57135128+RSaied@users.noreply.github.com> Date: Thu, 6 Apr 2023 16:27:31 +0300 Subject: [PATCH] Get languages file automatically --- tinyfilemanager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinyfilemanager.php b/tinyfilemanager.php index 441021c..c71af77 100644 --- a/tinyfilemanager.php +++ b/tinyfilemanager.php @@ -2525,7 +2525,7 @@ function fm_is_exclude_items($file) { */ function fm_get_translations($tr) { try { - $content = @file_get_contents('translation.json'); + $content = @file_get_contents('https://raw.githubusercontent.com/prasathmani/tinyfilemanager/master/translation.json'); if($content !== FALSE) { $lng = json_decode($content, TRUE); global $lang_list;