mirror of
https://github.com/unraid/webgui.git
synced 2026-03-13 14:30:29 -05:00
Multi-language support
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user