mirror of
https://github.com/unraid/webgui.git
synced 2026-04-29 14:29:24 -05:00
@@ -228,9 +228,9 @@ if (isset($_GET['xmlTemplate'])) {
|
||||
$arrConfig['Name'] = 'AppData Config Path';
|
||||
}
|
||||
}
|
||||
$arrConfig['Name'] = strip_tags($arrConfig['Name']);
|
||||
$arrConfig['Description'] = strip_tags($arrConfig['Description']);
|
||||
$arrConfig['Requires'] = strip_tags($arrConfig['Requires']);
|
||||
$arrConfig['Name'] = strip_tags($arrConfig['Name']??"");
|
||||
$arrConfig['Description'] = strip_tags($arrConfig['Description']??"");
|
||||
$arrConfig['Requires'] = strip_tags($arrConfig['Requires']??"");
|
||||
}
|
||||
}
|
||||
if (!empty($dockercfg['DOCKER_APP_UNRAID_PATH']) && file_exists($dockercfg['DOCKER_APP_UNRAID_PATH'])) {
|
||||
|
||||
@@ -494,6 +494,8 @@ function setXmlVal(&$xml, $value, $el, $attr=null, $pos=0) {
|
||||
|
||||
function getAllocations() {
|
||||
global $DockerClient, $host;
|
||||
|
||||
$ports = [];
|
||||
foreach ($DockerClient->getDockerContainers() as $ct) {
|
||||
$list = $port = [];
|
||||
$nat = $ip = false;
|
||||
|
||||
Reference in New Issue
Block a user