System update

This commit is contained in:
bergware
2022-07-05 12:14:33 +02:00
parent b1e6b67adc
commit f95ac556cd
2 changed files with 14 additions and 13 deletions
@@ -174,12 +174,6 @@ function language($method, $xml_file, &$error) {
}
}
// MAIN - single argument
if ($argc < 2) {
write($usage);
exit(1);
}
$docroot = '/usr/local/emhttp';
$boot = '/boot/config/plugins';
$plugins = '/var/log/plugins';
@@ -187,6 +181,12 @@ $tmp = '/tmp/plugins';
$method = $argv[1];
$console = $argv[$argc-1] != 'nchan'; // console or nchan output
// MAIN - single argument
if ($argc < 2) {
write($usage);
exit(1);
}
// language checkall
// check all installed languages
//