diff --git a/bin/greffe.php b/bin/greffe.php index 87bee4e7..8b6b23bf 100644 --- a/bin/greffe.php +++ b/bin/greffe.php @@ -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";