diff --git a/admin/helpers/compiler/e_Interpretation.php b/admin/helpers/compiler/e_Interpretation.php index ed62e178b..1182eb8c8 100644 --- a/admin/helpers/compiler/e_Interpretation.php +++ b/admin/helpers/compiler/e_Interpretation.php @@ -1177,13 +1177,12 @@ class Interpretation extends Fields { $updateXML[] = ''; // UPDATE_SERVER_XML - $name = str_replace( - '.xml', '', substr( + $name = substr( $this->componentData->update_server_url, strrpos($this->componentData->update_server_url, '/') + 1 - ) - ); + ); + $name = explode('.xml', $name)[0]; $target = array('admin' => $name); $this->buildDynamique($target, 'update_server'); $this->fileContentDynamic[$name][$this->hhh