From ae07e45d33a22ca5643e3708d374b3092acfe51a Mon Sep 17 00:00:00 2001 From: Guillermo Dev Date: Mon, 8 Oct 2018 23:58:56 +0200 Subject: [PATCH] changed max dl reached email info --- NetBiblio.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NetBiblio.php b/NetBiblio.php index 4f5225f..0497747 100644 --- a/NetBiblio.php +++ b/NetBiblio.php @@ -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);