@@ -435,7 +435,7 @@ function getListOfLinks($object, $lastloginadmin, $lastpassadmin)
435435 //if ($conf->use_javascript_ajax) $links.=ajax_autoselect("mysqlblockallowremoteip", 0);
436436 $ links .='<br><br> ' ;
437437
438- // Rsync to Restore Program directory
438+ // Rsync to copy Program directory
439439 $ sftprestorestring ='rsync -n -v -a --exclude \'conf.php \' --exclude \'*.cache \' htdocs/* ' .$ object ->username_os .'@ ' .$ object ->hostname_os .': ' .$ object ->database_db .'/htdocs/ ' ;
440440 $ links .='<span class="fa fa-terminal"></span> ' ;
441441 $ links .='Rsync to copy/overwrite application dir ' ;
@@ -446,7 +446,7 @@ function getListOfLinks($object, $lastloginadmin, $lastpassadmin)
446446 }
447447 $ links .='<br> ' ;
448448
449- // Rsync to Restore Document directory
449+ // Rsync to copy Document directory
450450 $ sftprestorestring ='rsync -n -v -a --exclude \'*.cache \' documents/* ' .$ object ->username_os .'@ ' .$ object ->hostname_os .': ' .$ object ->database_db .'/documents ' ;
451451 $ links .='<span class="fa fa-terminal"></span> ' ;
452452 $ links .='Rsync to copy/overwrite document dir ' ;
@@ -458,10 +458,10 @@ function getListOfLinks($object, $lastloginadmin, $lastpassadmin)
458458 $ links .='<br> ' ;
459459
460460 // Rsync to Deploy module
461- $ sftpdeploystring ='rsync -n -v -a --exclude \'*.cache \' --exclude \'conf\.php \' pathtohtdocsofmodule/* ' .$ object ->username_os .'@ ' .$ object ->hostname_os .': ' .$ object ->database_db .'/htdocs/custom/namemodule ' ;
461+ $ sftpdeploystring ='rsync -n -v -a --exclude \'*.cache \' --exclude \'conf\.php \' ' . DOL_DATA_ROOT . ' /sellyoursaas/git/dir_namemodule ' .$ object ->username_os .'@ ' .$ object ->hostname_os .': ' .$ object ->database_db .'/htdocs/custom/namemodule ' ;
462462 $ links .='<span class="fa fa-terminal"></span> ' ;
463463 $ links .='Rsync to install or overwrite module ' ;
464- $ links .='<span class="opacitymedium"> (remove -n to execute really)</span>:<br> ' ;
464+ $ links .='<span class="opacitymedium"> (to run on the master server, remove -n to execute really)</span>:<br> ' ;
465465 $ links .='<input type="text" id="sftpdeploystring" name="sftpdeploystring" value=" ' .$ sftpdeploystring .'" class="quatrevingtpercent" spellcheck="false"><br> ' ;
466466 if ($ conf ->use_javascript_ajax ) {
467467 $ links .=ajax_autoselect ("sftpdeploystring " , 0 );
@@ -472,7 +472,7 @@ function getListOfLinks($object, $lastloginadmin, $lastpassadmin)
472472 $ upgradestringtoshow =$ upgradestring .' test ' ;
473473 $ links .='<span class="fa fa-arrow-up"></span> ' ;
474474 $ links .='Upgrade version line string ' ;
475- $ links .='<span class="opacitymedium"> (remplacer "test" par "confirmunlock" pour exécuter réellement )</span><br> ' ;
475+ $ links .='<span class="opacitymedium"> (to run on the master server, replace "test" with "confirmunlock" to execute really )</span><br> ' ;
476476 $ links .='<input type="text" id="upgradestring" name="upgradestring" value=" ' .$ upgradestringtoshow .'" class="quatrevingtpercent" spellcheck="false"><br> ' ;
477477 if ($ conf ->use_javascript_ajax ) {
478478 $ links .=ajax_autoselect ("upgradestring " , 0 );
@@ -483,7 +483,7 @@ function getListOfLinks($object, $lastloginadmin, $lastpassadmin)
483483 $ purgestringtoshow =$ purgestring ;
484484 $ links .='<span class="fa fa-eraser"></span> ' ;
485485 $ links .='Purge command line string ' ;
486- $ links .='<span class="opacitymedium"> (remplacer "test" par "confirm" pour exécuter réellement )</span><br> ' ;
486+ $ links .='<span class="opacitymedium"> (to run on the master server, replace "test" with "confirm" to execute really )</span><br> ' ;
487487 $ links .='<input type="text" id="purgestring" name="purgestring" value=" ' .$ purgestringtoshow .'" class="quatrevingtpercent" spellcheck="false"><br> ' ;
488488 if ($ conf ->use_javascript_ajax ) {
489489 $ links .=ajax_autoselect ("purgestring " , 0 );
0 commit comments