mirror of
https://github.com/unraid/webgui.git
synced 2026-04-29 22:39:20 -05:00
Multi-language support
This commit is contained in:
@@ -56,8 +56,8 @@ case 'add':
|
||||
@unlink("$docroot/webGui/javascript/translate.$file.js");
|
||||
foreach (glob("$path/*.dot",GLOB_NOSORT) as $dot_file) unlink($dot_file);
|
||||
exec("unzip -qqjLo -d $path $save", $dummy, $err);
|
||||
@unlink($save);
|
||||
if ($err > 1) {
|
||||
@unlink($save);
|
||||
exec("rm -rf $path");
|
||||
$result = false;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user