cvs: php-master-web /entry user-note.php
| From: | Mehdi Achour | Date: | Mon, 16 Aug 2004 19:03:51 +0000 |
| Subject: | cvs: php-master-web /entry user-note.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-25836@lists.php.net to get a copy of this message | ||
didou Mon Aug 16 15:03:51 2004 EDT
Modified files:
/php-master-web/entry user-note.php
Log:
add the user/section/note to the mail sent when the quota is exceeded
http://cvs.php.net/diff.php/php-master-web/entry/user-note.php?r1=1.25&r2=1.26&ty=u
Index: php-master-web/entry/user-note.php
diff -u php-master-web/entry/user-note.php:1.25 php-master-web/entry/user-note.php:1.26
--- php-master-web/entry/user-note.php:1.25 Fri Aug 6 04:54:58 2004
+++ php-master-web/entry/user-note.php Mon Aug 16 15:03:51 2004
@@ -40,9 +40,12 @@
//Send error to myself. If this happens too many times, I'll increase
//the amount of allowed notes
mail ('alindeman@php.net,didou@php.net',
- 'Note quota exceeded',
- 'Too many notes submitted in one minute. Consider increasing quota
- Occured at '.date ('M d, Y g:i:s A'),
+ '[php-notes] Quota exceeded',
+ 'Too many notes submitted in one minute. Consider increasing quota' . "\n" .
+ 'Occured at '.date ('M d, Y g:i:s A') . "\n" .
+ "User : $user\n" .
+ "Section: $section\n" .
+ "Note : $note",
'From: webmaster@php.net'
);
die ('[TOO MANY NOTES]');