Multi-language support

This commit is contained in:
bergware
2020-03-12 09:35:36 +01:00
parent 64418f1fff
commit c7ec7b630a

View File

@@ -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 = [];