upgraded assets for webpanel, further enhancements and fixes regarding docker env
This commit is contained in:
@@ -209,10 +209,11 @@ function isRunning($option = null)
|
||||
|
||||
function getRoonServerVersion($option = null)
|
||||
{
|
||||
$getRoonServerVer = CS_INSTALLPATH . '/bin/system-docker exec -it roonserver cat /Roon/app/RoonServer/VERSION';
|
||||
$roonServerVer = exec($getRoonServerVer);
|
||||
$getHostFS = CS_INSTALLPATH . '/bin/system-docker inspect '. isRunning() . ' | /usr/local/sbin/jq \'.[0].GraphDriver.Data.MergedDir\'';
|
||||
$HostFS = exec($getHostFS);
|
||||
$RoonVersion = file(trim($HostFS, '"') . "/Roon/app/RoonServer/VERSION");
|
||||
|
||||
return print_r($roonServerVer);
|
||||
return $RoonVersion;
|
||||
}
|
||||
|
||||
function downloadLogs($strSessionID, $dblocation)
|
||||
|
||||
Reference in New Issue
Block a user