changed max dl reached email info

This commit is contained in:
Guillermo Dev
2018-10-08 23:58:56 +02:00
parent 84c310e8d9
commit ae07e45d33

View File

@@ -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);