mirror of
https://github.com/unraid/webgui.git
synced 2026-05-07 12:51:21 -05:00
Plugin system update
This commit is contained in:
@@ -43,7 +43,7 @@ function write($message){
|
||||
}
|
||||
}
|
||||
|
||||
usleep(200000);
|
||||
if (!$console) usleep(200000);
|
||||
// check connectivity first
|
||||
write(_("Checking connectivity")."...\n");
|
||||
if (exec("wget --spider --no-check-certificate -nv -T10 -t1 https://www.msftncsi.com/ncsi.txt 2>&1|grep -o 'OK'")) {
|
||||
|
||||
@@ -39,7 +39,7 @@ function write($message){
|
||||
}
|
||||
}
|
||||
|
||||
usleep(200000);
|
||||
if (!$console) usleep(200000);
|
||||
foreach ($plugins as $plugin) {
|
||||
if (!$plugin || (!$cmd = $call[pathinfo($plugin)['extension']])) continue;
|
||||
$line = '';
|
||||
|
||||
Reference in New Issue
Block a user