From 38b7a816c0c61c9a815d0b516db96f112474dbce Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Thu, 9 Nov 2006 00:52:05 +1300 Subject: [PATCH] Fix copy / paste niggle in debug logging. --- inc/caldav-GET.php | 2 +- inc/caldav-MKCALENDAR.php | 2 +- inc/caldav-MKCOL.php | 2 +- inc/caldav-PUT.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/inc/caldav-GET.php b/inc/caldav-GET.php index 72e36bef..bc647176 100644 --- a/inc/caldav-GET.php +++ b/inc/caldav-GET.php @@ -16,7 +16,7 @@ if ( ! isset($permissions['read']) ) { header("HTTP/1.1 403 Forbidden"); header("Content-type: text/plain"); echo "You may not access that calendar."; - dbg_error_log("GET", "Access denied for User: %d, Path: %s", $session->user_no, $get_path); + dbg_error_log("GET", "Access denied for User: %d, Path: %s", $session->user_no, $request_path); return; } diff --git a/inc/caldav-MKCALENDAR.php b/inc/caldav-MKCALENDAR.php index 49606fd6..e8520f1d 100644 --- a/inc/caldav-MKCALENDAR.php +++ b/inc/caldav-MKCALENDAR.php @@ -14,7 +14,7 @@ if ( ! isset($permissions['write']) ) { header("HTTP/1.1 403 Forbidden"); header("Content-type: text/plain"); echo "You may not create a calendar there."; - dbg_error_log("ERROR", "MKCALENDAR Access denied for User: %d, Path: %s", $session->user_no, $get_path); + dbg_error_log("ERROR", "MKCALENDAR Access denied for User: %d, Path: %s", $session->user_no, $request_path); exit(0); } diff --git a/inc/caldav-MKCOL.php b/inc/caldav-MKCOL.php index d421881e..27b7a41d 100644 --- a/inc/caldav-MKCOL.php +++ b/inc/caldav-MKCOL.php @@ -14,7 +14,7 @@ if ( ! isset($permissions['write']) ) { header("HTTP/1.1 403 Forbidden"); header("Content-type: text/plain"); echo "You may not create a calendar there."; - dbg_error_log("ERROR", "MKCOL Access denied for User: %d, Path: %s", $session->user_no, $get_path); + dbg_error_log("ERROR", "MKCOL Access denied for User: %d, Path: %s", $session->user_no, $request_path); return; } diff --git a/inc/caldav-PUT.php b/inc/caldav-PUT.php index 7111a2f7..94a68fdb 100644 --- a/inc/caldav-PUT.php +++ b/inc/caldav-PUT.php @@ -21,7 +21,7 @@ if ( ! isset($permissions['write']) ) { header("HTTP/1.1 403 Forbidden"); header("Content-type: text/plain"); echo "You may not write to that calendar."; - dbg_error_log("ERROR", "PUT Access denied for User: %d, Path: %s", $session->user_no, $get_path); + dbg_error_log("ERROR", "PUT Access denied for User: %d, Path: %s", $session->user_no, $request_path); return; }