Fix IP ftp en dur, et remplace par ftp.scores-decisions.com

This commit is contained in:
Michael RICOIS 2017-03-27 14:44:21 +02:00
parent c3de83ff53
commit b7ebfa4709

View File

@ -41,7 +41,7 @@ if (isset($opts->list)){
$types = array('bi', 'ac');
//Configuration FTP
define ('ACTES_IGNUM_FTP_URL', '192.168.3.202');
define ('ACTES_IGNUM_FTP_URL', 'ftp.scores-decisions.com');
define ('ACTES_IGNUM_FTP_USER', 'mpc2500');
define ('ACTES_IGNUM_FTP_PASS', 'passmpc78');
define ('ACTES_IGNUM_LOCAL_DIR', $c->profil->path->shared.'/files/');
@ -116,8 +116,8 @@ function sendMail($commande, $type){
$message.= "Save paper - think before you print";
$message.= "\n";
$headers = 'From: infoslegales@scores-decisions.com' . "\r\n" .
'Reply-To: infoslegales@scores-decisions.com';
$headers = 'From: support@scores-decisions.com' . "\r\n" .
'Reply-To: support@scores-decisions.com';
if ( mail(strtolower($commande->email), $subject, utf8_decode($message), $headers) ){
echo date ('Y/m/d - H:i:s').' - Un email a été envoyé à '.$commande->email." pour la commande ".$commande->id.".\n";