1 |
tomk 10/09/09 20:14:10 |
2 |
|
3 |
Modified: page_header.php page_tail.php |
4 |
Log: |
5 |
add unique identifier to tie start/end requests together |
6 |
|
7 |
Revision Changes Path |
8 |
1.16 forums/htdocs/includes/page_header.php |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/forums/htdocs/includes/page_header.php?rev=1.16&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/forums/htdocs/includes/page_header.php?rev=1.16&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/forums/htdocs/includes/page_header.php?r1=1.15&r2=1.16 |
13 |
|
14 |
Index: page_header.php |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-projects/forums/htdocs/includes/page_header.php,v |
17 |
retrieving revision 1.15 |
18 |
retrieving revision 1.16 |
19 |
diff -u -r1.15 -r1.16 |
20 |
--- page_header.php 8 Sep 2010 10:42:03 -0000 1.15 |
21 |
+++ page_header.php 9 Sep 2010 20:14:10 -0000 1.16 |
22 |
@@ -6,7 +6,7 @@ |
23 |
* copyright : (C) 2001 The phpBB Group |
24 |
* email : support@×××××.com |
25 |
* |
26 |
- * $Id: page_header.php,v 1.15 2010/09/08 10:42:03 tomk Exp $ |
27 |
+ * $Id: page_header.php,v 1.16 2010/09/09 20:14:10 tomk Exp $ |
28 |
* |
29 |
* |
30 |
***************************************************************************/ |
31 |
@@ -28,7 +28,9 @@ |
32 |
define('HEADER_INC', TRUE); |
33 |
|
34 |
// 2010-09-08 tomk - log request to syslog |
35 |
-phpbb_syslog_request("S"); |
36 |
+$identifier_cache = md5($_SERVER['REMOTE_ADDR'] . $_SERVER['REMOTE_PORT'] . time()); |
37 |
+ |
38 |
+phpbb_syslog_request("S " + $identifier_cache); |
39 |
|
40 |
// |
41 |
// gzip_compression |
42 |
|
43 |
|
44 |
|
45 |
1.9 forums/htdocs/includes/page_tail.php |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/forums/htdocs/includes/page_tail.php?rev=1.9&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/forums/htdocs/includes/page_tail.php?rev=1.9&content-type=text/plain |
49 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/forums/htdocs/includes/page_tail.php?r1=1.8&r2=1.9 |
50 |
|
51 |
Index: page_tail.php |
52 |
=================================================================== |
53 |
RCS file: /var/cvsroot/gentoo-projects/forums/htdocs/includes/page_tail.php,v |
54 |
retrieving revision 1.8 |
55 |
retrieving revision 1.9 |
56 |
diff -u -r1.8 -r1.9 |
57 |
--- page_tail.php 8 Sep 2010 10:42:03 -0000 1.8 |
58 |
+++ page_tail.php 9 Sep 2010 20:14:10 -0000 1.9 |
59 |
@@ -6,7 +6,7 @@ |
60 |
* copyright : (C) 2001 The phpBB Group |
61 |
* email : support@×××××.com |
62 |
* |
63 |
- * $Id: page_tail.php,v 1.8 2010/09/08 10:42:03 tomk Exp $ |
64 |
+ * $Id: page_tail.php,v 1.9 2010/09/09 20:14:10 tomk Exp $ |
65 |
* |
66 |
* |
67 |
***************************************************************************/ |
68 |
@@ -77,7 +77,7 @@ |
69 |
} |
70 |
|
71 |
// 2010-09-08 tomk - log request to syslog with mem usage |
72 |
-phpbb_syslog_request("E", true); |
73 |
+phpbb_syslog_request("E " . $identifier_cache, true); |
74 |
|
75 |
exit; |