Impoved the update server naming ability.
This commit is contained in:
parent
3a2b8497e3
commit
eda4d594d6
@ -1177,13 +1177,12 @@ class Interpretation extends Fields
|
|||||||
{
|
{
|
||||||
$updateXML[] = '</updates>';
|
$updateXML[] = '</updates>';
|
||||||
// UPDATE_SERVER_XML
|
// UPDATE_SERVER_XML
|
||||||
$name = str_replace(
|
$name = substr(
|
||||||
'.xml', '', substr(
|
|
||||||
$this->componentData->update_server_url,
|
$this->componentData->update_server_url,
|
||||||
strrpos($this->componentData->update_server_url, '/')
|
strrpos($this->componentData->update_server_url, '/')
|
||||||
+ 1
|
+ 1
|
||||||
)
|
);
|
||||||
);
|
$name = explode('.xml', $name)[0];
|
||||||
$target = array('admin' => $name);
|
$target = array('admin' => $name);
|
||||||
$this->buildDynamique($target, 'update_server');
|
$this->buildDynamique($target, 'update_server');
|
||||||
$this->fileContentDynamic[$name][$this->hhh
|
$this->fileContentDynamic[$name][$this->hhh
|
||||||
|
Loading…
Reference in New Issue
Block a user