diff --git a/setup/Setup.cpp b/setup/Setup.cpp index 32886c482..46095764a 100755 --- a/setup/Setup.cpp +++ b/setup/Setup.cpp @@ -709,12 +709,14 @@ bool CampoSetup::DiskUpdateModule(const wxString& strLocalPath, const wxString& //------------------------------- // 3) AGGIORNAMENTO DA INTERNET //------------------------------- -bool CampoSetup::HTTPGet(const wxString& strLocalPath, const wxString& strWebPath) const +bool CampoSetup::HTTPGet(const wxString& strLocalPath, const wxString& strWebSite) const { - wxString strServer, strPath; + wxString strWebPath = strWebSite; + if (strWebPath.StartsWith("http://")) + strWebPath.Remove(0, 7); int nSlash = strWebPath.First('/'); - strServer = strWebPath.Left(nSlash); - strPath = strWebPath.Mid(nSlash); + wxString strServer = strWebPath.Left(nSlash); + wxString strPath = strWebPath.Mid(nSlash); wxHTTP http; //connessione al server web con le patch diff --git a/setup/oem.ini b/setup/oem.ini index 9e68caa96..103640aba 100755 --- a/setup/oem.ini +++ b/setup/oem.ini @@ -23,7 +23,7 @@ Password = Product = ””’“žf·›·¦¿ÀÁ‰ØÓ Reseller = ¤¼·¬¾f»›¹ØäÖДÒÑÇ×ÔÝÜ×ÆÎ@æ—ã¢Æ› Themes = sirio_themes.ini -Web = www.aga.it/release100/ +Web = http://patch.campoenterprise.com/PatchV1000/ [OEM_2] Administrator = ’—’Œ @@ -35,7 +35,7 @@ Password = Product = ”¢Œˆ’•… Reseller = ¥˜™•‰¦v§eÇ€³qÀw Themes = tetra_themes.ini -Web = www.aga.it/release100/ +Web = http://patch.campoenterprise.com/PatchV1000/ [OEM_3] Administrator = ’—’Œ