From a22cb65adbde7e7b101d2c950b617eaec6f5c790 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Tue, 07 Oct 2008 12:54:07 -0400 Subject: [PATCH] - Write username instead of id in sendmail log (#1485477) --- index.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/index.php b/index.php index e620183..adab411 100644 --- a/index.php +++ b/index.php @@ -133,7 +133,7 @@ // check client X-header to verify request origin if ($OUTPUT->ajax_call) { - if ($RCMAIL->config->get('devel_mode') && !rc_request_header('X-RoundCube-Referer')) { + if (!$RCMAIL->config->get('devel_mode') && !rc_request_header('X-RoundCube-Referer')) { header('HTTP/1.1 404 Not Found'); die("Invalid Request"); } -- Gitblit v1.9.1