This commit is contained in:
Saied 2023-04-26 13:48:52 -07:00 committed by GitHub
commit 051c19dd99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;