diff options
| author | 2017-10-07 13:51:45 +0200 | |
|---|---|---|
| committer | 2017-10-07 13:51:45 +0200 | |
| commit | 4058ff3ff4631bcc2c9cba534162c80db5cf2b65 (patch) | |
| tree | 54b22178f371883779cb6fc59567e0bc7cf55870 /constants.php | |
| parent | 9bbec9a1e8035555bec014bc26f7ef178daaf725 (diff) | |
Remove SimplePie name from HTTP User-Agent string
https://github.com/FreshRSS/FreshRSS/issues/1622#issuecomment-334928486
https://github.com/FreshRSS/FreshRSS/issues/1627
https://github.com/FreshRSS/FreshRSS/issues/1607
Diffstat (limited to 'constants.php')
| -rw-r--r-- | constants.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/constants.php b/constants.php index 195c7e073..9c647eb74 100644 --- a/constants.php +++ b/constants.php @@ -3,6 +3,8 @@ define('FRESHRSS_VERSION', '1.8.1-dev'); define('FRESHRSS_WEBSITE', 'https://freshrss.org'); define('FRESHRSS_WIKI', 'https://freshrss.github.io/FreshRSS/'); +define('FRESHRSS_USERAGENT', 'FreshRSS/' . FRESHRSS_VERSION . ' (' . PHP_OS . '; ' . FRESHRSS_WEBSITE . ')'); + // PHP text output compression http://php.net/ob_gzhandler (better to do it at Web server level) define('PHP_COMPRESSION', false); |
