aboutsummaryrefslogtreecommitdiff
path: root/constants.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2019-12-18 09:24:55 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2019-12-22 18:46:09 +0100
commit61fb6f8b86a3fc395dcfa16abab2c94ad3be5b27 (patch)
treee33f0ee5e29b840e7c0e0b9bca39863b63111713 /constants.php
parent7802fd33a627dc7c582df871cfa613d9be8f8788 (diff)
fix: Rename COPY_LOG_TO_STDERR in COPY_LOG_TO_SYSLOG
The constant was badly named. The bug was introduced in 3c49986ec, probably because of a copy/paste. There is no other occurrences of COPY_LOG_TO_STDERR in the code (checked with `git grep`).
Diffstat (limited to 'constants.php')
-rw-r--r--constants.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/constants.php b/constants.php
index b6500f078..67e3d2677 100644
--- a/constants.php
+++ b/constants.php
@@ -32,7 +32,7 @@ safe_define('FRESHRSS_USERAGENT', 'FreshRSS/' . FRESHRSS_VERSION . ' (' . PHP_OS
// PHP text output compression http://php.net/ob_gzhandler (better to do it at Web server level)
safe_define('PHP_COMPRESSION', false);
-safe_define('COPY_LOG_TO_STDERR', filter_var(getenv('COPY_LOG_TO_STDERR'), FILTER_VALIDATE_BOOLEAN));
+safe_define('COPY_LOG_TO_SYSLOG', filter_var(getenv('COPY_LOG_TO_SYSLOG'), FILTER_VALIDATE_BOOLEAN));
// For cases when syslog is not available
safe_define('COPY_SYSLOG_TO_STDERR', filter_var(getenv('COPY_SYSLOG_TO_STDERR'), FILTER_VALIDATE_BOOLEAN));