aboutsummaryrefslogtreecommitdiff
path: root/constants.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-01-15 20:58:53 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-01-15 20:58:53 +0100
commit6bc49e137e2f996f768770c3702d7d6552f556b3 (patch)
treedaf73c82840eb4985a61eb7ddb6ee3d7609252af /constants.php
parenta26eff8a2084a779959f5bef96a4bc72c7ec6ab7 (diff)
parent9214eeecff363883d3d396490e8f1c7adf523c05 (diff)
Manual merge /dev
Diffstat (limited to 'constants.php')
-rw-r--r--constants.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/constants.php b/constants.php
index 3a8c213d4..89eb5cda1 100644
--- a/constants.php
+++ b/constants.php
@@ -32,6 +32,9 @@ 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);
+// For cases when syslog is not available
+safe_define('COPY_SYSLOG_TO_STDERR', isset($_SERVER['COPY_SYSLOG_TO_STDERR']) ? filter_var($_SERVER['COPY_SYSLOG_TO_STDERR'], FILTER_VALIDATE_BOOLEAN) : false);
+
// Maximum log file size in Bytes, before it will be divided by two
safe_define('MAX_LOG_SIZE', 1048576);