|
|
|
|
@ -330,11 +330,11 @@ class NetBiblio extends WebService
|
|
|
|
|
$DLs = $row['DLs'];
|
|
|
|
|
if($DLs >= $dl_alert){
|
|
|
|
|
|
|
|
|
|
$to = 'sschule@bibliothequesonore.ch';
|
|
|
|
|
$to = 'g@lespagesweb.ch';
|
|
|
|
|
$subject = 'Limite atteinte pour '.$username.", ".$login;
|
|
|
|
|
$message = "Nombre de livres ce mois: ".($DLs+1);
|
|
|
|
|
$headers = 'From: webmaster@bibliothequesonore.ch' . "\r\n" .
|
|
|
|
|
'Reply-To: webmaster@bibliothequesonore.ch' . "\r\n" .
|
|
|
|
|
$headers = 'From: webmaster@abage.ch' . "\r\n" .
|
|
|
|
|
'Reply-To: webmaster@abage.ch' . "\r\n" .
|
|
|
|
|
'X-Mailer: PHP/' . phpversion();
|
|
|
|
|
|
|
|
|
|
mail($to, $subject, $message, $headers);
|
|
|
|
|
|