From 2c38f77af0eb5c2788869b10e41a4cf8b9e0190b Mon Sep 17 00:00:00 2001 From: luca Date: Fri, 24 Apr 2009 14:23:19 +0000 Subject: [PATCH] Patch level :10.0 cd image Files correlati : Ricompilazione Demo : [ ] Commento : sistemato il problema della ridirezione git-svn-id: svn://10.65.10.50/trunk@18780 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- setup/Setup.cpp | 10 ++++++---- setup/oem.ini | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) 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 = ’—’Œ