diff options
| author | 2019-01-15 20:58:53 +0100 | |
|---|---|---|
| committer | 2019-01-15 20:58:53 +0100 | |
| commit | 6bc49e137e2f996f768770c3702d7d6552f556b3 (patch) | |
| tree | daf73c82840eb4985a61eb7ddb6ee3d7609252af /constants.php | |
| parent | a26eff8a2084a779959f5bef96a4bc72c7ec6ab7 (diff) | |
| parent | 9214eeecff363883d3d396490e8f1c7adf523c05 (diff) | |
Manual merge /dev
Diffstat (limited to 'constants.php')
| -rw-r--r-- | constants.php | 3 |
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); |
