From 7f1a46d6cf609351da21a6ad71b3ef0e17aefd70 Mon Sep 17 00:00:00 2001 From: ale23yfm Date: Thu, 4 Jul 2024 22:36:59 +0300 Subject: [PATCH] updated v1/logo/add --- v1/logo/add/index.php | 35 ++++++++++++++++------------------- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/v1/logo/add/index.php b/v1/logo/add/index.php index 35de825..b225080 100644 --- a/v1/logo/add/index.php +++ b/v1/logo/add/index.php @@ -1,5 +1,6 @@ $data ) ); + $context = stream_context_create($options); -foreach ($server as $solrurl) { - $url = $solrurl . $core . $command . $qs; - $result = file_get_contents($url, false, $context); - if ($result === FALSE) { - echo $result; - } -} +$result = file_get_contents($url, false, $context); +if ($result === FALSE) { + echo $result; +} \ No newline at end of file