summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-01-10 20:25:34 +0000
committerDries Buytaert <dries@buytaert.net>2005-01-10 20:25:34 +0000
commite7777956f9f66dc72000a90a8515ad51e1af014e (patch)
tree0bb61933df64daac802d842b845e1409d391aeab /includes
parentf4132656b1cf7303be06dd7035a75086e14357ee (diff)
downloadbrdo-e7777956f9f66dc72000a90a8515ad51e1af014e.tar.gz
brdo-e7777956f9f66dc72000a90a8515ad51e1af014e.tar.bz2
- Watchdog improvement: added a 'view' link for 'access denied' messages.
Diffstat (limited to 'includes')
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 49815fa76..bc61140e9 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -186,7 +186,7 @@ function drupal_not_found() {
*/
function drupal_access_denied() {
header('HTTP/1.0 403 Forbidden');
- watchdog('access denied', t('%page denied access.', array('%page' => '<em>'. db_escape_string($_GET['q']) .'</em>')), WATCHDOG_WARNING);
+ watchdog('access denied', t('%page denied access.', array('%page' => '<em>'. db_escape_string($_GET['q']) .'</em>')), WATCHDOG_WARNING, l(t('view'), $_GET['q']));
$path = drupal_get_normal_path(variable_get('site_403', ''));
$status = MENU_NOT_FOUND;