summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-07-29 04:12:19 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-07-29 04:12:19 +0000
commit354e0c1f83c83bd134cd5d682f5ddcb2316f7c75 (patch)
tree83b60a5a709427c5a682771e63f2ec7b614d9f3f /includes
parent515f7b41f16af341b345f553ec5409f973edd581 (diff)
downloadbrdo-354e0c1f83c83bd134cd5d682f5ddcb2316f7c75.tar.gz
brdo-354e0c1f83c83bd134cd5d682f5ddcb2316f7c75.tar.bz2
- #23651: Display referrer info with watchdog messages.
Diffstat (limited to 'includes')
-rw-r--r--includes/bootstrap.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 8354520e6..b307ab910 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -739,7 +739,7 @@ function request_uri() {
*/
function watchdog($type, $message, $severity = WATCHDOG_NOTICE, $link = NULL) {
global $user;
- db_query("INSERT INTO {watchdog} (uid, type, message, severity, link, location, hostname, timestamp) VALUES (%d, '%s', '%s', %d, '%s', '%s', '%s', %d)", $user->uid, $type, $message, $severity, $link, request_uri(), $_SERVER['REMOTE_ADDR'], time());
+ db_query("INSERT INTO {watchdog} (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (%d, '%s', '%s', %d, '%s', '%s', '%s', '%s', %d)", $user->uid, $type, $message, $severity, $link, request_uri(), referer_uri(), $_SERVER['REMOTE_ADDR'], time());
}
/**