mirror of
https://github.com/unraid/webgui.git
synced 2026-05-04 00:39:32 -05:00
System update
This commit is contained in:
@@ -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
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user