From c7ec7b630a8ca09fe4e2fe816884f2d903d0b191 Mon Sep 17 00:00:00 2001 From: bergware Date: Thu, 12 Mar 2020 09:35:36 +0100 Subject: [PATCH] Multi-language support --- plugins/dynamix/include/FileUpload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dynamix/include/FileUpload.php b/plugins/dynamix/include/FileUpload.php index 7ff5f35df..757fb39f0 100644 --- a/plugins/dynamix/include/FileUpload.php +++ b/plugins/dynamix/include/FileUpload.php @@ -61,7 +61,7 @@ case 'rm': $path = "$docroot/languages/$file"; if ($result = is_dir($path)) { exec("rm -rf ".escapeshellarg($path)); - @unlink("$docroot/webGui/javascript/translate.".($file?:'en').".js"); + @unlink("$docroot/webGui/javascript/translate.$file.js"); @unlink("$boot/$file.lang.zip"); } $installed = [];