Multi-language support

This commit is contained in:
bergware
2020-05-01 20:47:38 +02:00
parent 5db8bde530
commit bfdaba06aa
+1 -1
View File
@@ -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;