changed max dl reached email info
This commit is contained in:
@@ -330,11 +330,11 @@ class NetBiblio extends WebService
|
|||||||
$DLs = $row['DLs'];
|
$DLs = $row['DLs'];
|
||||||
if($DLs >= $dl_alert){
|
if($DLs >= $dl_alert){
|
||||||
|
|
||||||
$to = 'sschule@bibliothequesonore.ch';
|
$to = 'g@lespagesweb.ch';
|
||||||
$subject = 'Limite atteinte pour '.$username.", ".$login;
|
$subject = 'Limite atteinte pour '.$username.", ".$login;
|
||||||
$message = "Nombre de livres ce mois: ".($DLs+1);
|
$message = "Nombre de livres ce mois: ".($DLs+1);
|
||||||
$headers = 'From: webmaster@bibliothequesonore.ch' . "\r\n" .
|
$headers = 'From: webmaster@abage.ch' . "\r\n" .
|
||||||
'Reply-To: webmaster@bibliothequesonore.ch' . "\r\n" .
|
'Reply-To: webmaster@abage.ch' . "\r\n" .
|
||||||
'X-Mailer: PHP/' . phpversion();
|
'X-Mailer: PHP/' . phpversion();
|
||||||
|
|
||||||
mail($to, $subject, $message, $headers);
|
mail($to, $subject, $message, $headers);
|
||||||
|
|||||||
Reference in New Issue
Block a user