diff --git a/index.php b/index.php index 48b8f45..1ef45f7 100644 --- a/index.php +++ b/index.php @@ -3,21 +3,6 @@ $DATA['AssetServer'] = "http://127.0.0.1:8002/"; - function getServerURI($homeURL, $userID) - { - $xml = 'get_server_urlsuserID'.$userID.''; - $optionen = stream_context_create(array('http' => array('timeout' => 1, 'method' => 'POST', 'header' => 'Content-Type: application/xml', 'content' => $xml))); - $result = file_get_contents($homeURL, false, $optionen); - - $servers = new SimpleXMLElement($result); - - foreach ($servers->params->param->value->struct[0] as $serverEntry) - { - if($serverEntry->name == 'SRV_AssetServerURI') - return $serverEntry->value->string->__toString(); - } - } - function getAssetData($assetServer, $assetUUID) { global $DATA;