diff --git a/htdocs/admin/tools/update.php b/htdocs/admin/tools/update.php
index 5cebb1dac4e..912016b498c 100644
--- a/htdocs/admin/tools/update.php
+++ b/htdocs/admin/tools/update.php
@@ -143,7 +143,7 @@ if ($action=='install')
if (! $error)
{
- setEventMessages($langs->trans("SetupIsReadyForUse"), null, 'mesgs');
+ setEventMessages($langs->trans("SetupIsReadyForUse", DOL_URL_ROOT.'/admin/modules.php?mainmenu=home', $langs->transnoentitiesnoconv("Home").' - '.$langs->transnoentitiesnoconv("Setup").' - '.$langs->transnoentitiesnoconv("Modules")), null, 'warnings');
}
}
@@ -170,6 +170,8 @@ print $langs->trans("CurrentVersion").' : '.DOL_VERSION.'
';
if (function_exists('curl_init'))
{
+ $conf->global->MAIN_USE_RESPONSE_TIMEOUT = 10;
+
$result = getURLContent('http://sourceforge.net/projects/dolibarr/rss');
//var_dump($result['content']);
$sfurl = simplexml_load_string($result['content']);
@@ -281,26 +283,32 @@ if ($allowfromweb < 1)
if ($allowfromweb >= 0)
{
- if ($allowfromweb == 1) print $langs->trans("ThisIsProcessToFollow").'
';
- else print $langs->trans("ThisIsAlternativeProcessToFollow").'
';
- print ''.$langs->trans("StepNb",1).': ';
- print $langs->trans("FindPackageFromWebSite",$fullurl).'
';
- print ''.$langs->trans("StepNb",2).': ';
- print $langs->trans("DownloadPackageFromWebSite",$fullurl).'
';
- print ''.$langs->trans("StepNb",3).': ';
+ if ($allowfromweb == 1)
+ {
+ //print $langs->trans("ThisIsProcessToFollow").'
';
+ }
+ else
+ {
+ print $langs->trans("ThisIsAlternativeProcessToFollow").'
';
+ print ''.$langs->trans("StepNb",1).': ';
+ print $langs->trans("FindPackageFromWebSite",$fullurl).'
';
+ print ''.$langs->trans("StepNb",2).': ';
+ print $langs->trans("DownloadPackageFromWebSite",$fullurl).'
';
+ print ''.$langs->trans("StepNb",3).': ';
+ }
if ($allowfromweb == 1)
{
- print $langs->trans("UnpackPackageInDolibarrRoot",$dirins).'
';
+ print $langs->trans("UnpackPackageInModulesRoot",$dirins).'
';
print '