From f07adfe701e97430c7bb63a0b22b363f00dedde6 Mon Sep 17 00:00:00 2001 From: ibizaman Date: Wed, 28 Sep 2022 23:32:54 -0700 Subject: [PATCH] update normalize_headers to print to syslog in debug mode --- ttrss/normalize-headers.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ttrss/normalize-headers.nix b/ttrss/normalize-headers.nix index 743f449..ca5e449 100644 --- a/ttrss/normalize-headers.nix +++ b/ttrss/normalize-headers.nix @@ -18,7 +18,7 @@ utils.mkConfigFile { ); # phpinfo(INFO_VARIABLES); - + if (isSet($_SERVER['REMOTE_ADDR'])) { $remote = $_SERVER['REMOTE_ADDR']; @@ -48,7 +48,7 @@ utils.mkConfigFile { } - # print_r($_REQUEST); + # trigger_error(print_r($_SERVER, true), E_USER_WARNING); ''; }