Debuggage
This commit is contained in:
parent
7de59904e2
commit
be0f250664
|
@ -19,7 +19,7 @@ Envoie un courriel de bienvenue à l'adhérent";
|
|||
}
|
||||
if ( !empty($opt["id"]) )
|
||||
{
|
||||
require_once("entete_mail.php");
|
||||
require("entete_mail.php");
|
||||
require_once("db.class.php");
|
||||
require_once("log.php");
|
||||
$db = new db( "dolibarr" );
|
||||
|
@ -34,7 +34,7 @@ if ( !empty($opt["id"]) )
|
|||
send_mail( "", $adherent["email"], $courriel_bienvenue );
|
||||
}else
|
||||
{
|
||||
echo "La commande nécéssite un argument --id non nul.\n";
|
||||
echo "La commande nécessite un argument --id non nul.\n";
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -4,5 +4,4 @@
|
|||
$headers .= "MIME-Version: 1.0\n";
|
||||
$headers .= "Content-type: text/plain; charset=UTF-8\n";
|
||||
$headers .= "DATE: " . date( 'r' ) . "\n";
|
||||
echo "##########$headers-----------";
|
||||
?>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
function send_mail( $cat_dest, $destinataire, $texte='' )
|
||||
{
|
||||
global $base_url;
|
||||
require_once("entete_mail.php");echo "##########$headers-----------";
|
||||
require("entete_mail.php");
|
||||
require_once("db.class.php");
|
||||
|
||||
|
||||
|
@ -57,7 +57,6 @@ function send_mail( $cat_dest, $destinataire, $texte='' )
|
|||
}
|
||||
}else
|
||||
{
|
||||
echo "##########$headers-----------";
|
||||
envoi_mail( $destinataire, "[Lalis] prochains ateliers", $mail, $headers );
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue