mirror of
https://github.com/unraid/webgui.git
synced 2026-05-02 07:49:20 -05:00
Fixed plugin manager - show correct version for "next" branch
This commit is contained in:
@@ -17,7 +17,7 @@ $docroot = $docroot ?? $_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp';
|
||||
function plugin($method, $arg = '') {
|
||||
global $docroot;
|
||||
exec("$docroot/plugins/dynamix.plugin.manager/scripts/plugin ".escapeshellarg($method)." ".escapeshellarg($arg), $output, $retval);
|
||||
return $retval==0 ? end($output) : false;
|
||||
return $retval==0 ? implode("\n", $output) : false;
|
||||
}
|
||||
|
||||
function check_plugin($arg, &$ncsi) {
|
||||
|
||||
Reference in New Issue
Block a user