ttrss/include
martin scharm ea55f2e11c Add proper support for proxies
There are situations where you want tt-rss to use a proxy (e.g.
because of network restrictions, or privacy concerns).
tt-rss already comes with an undocumented `_CURL_HTTP_PROXY`
variable (see eg https://binfalse.de/2015/05/06/ttrss-with-proxy/),
however that won't have an effect when, for example, php-curl is
not installed, see
c30f5e1811/include/functions.php (L377)
In this case it would use the `file_get_contents` with a stream
context without a proxy definition:
c30f5e1811/include/functions.php (L487)

Here I propose to properly support proxies, and I introduced a
`PROXY` variable, that is respected in both scenarios, with and
without curl installed.
2018-01-14 00:30:22 +01:00
..
autoload.php Replace '__autoload' (deprecated in PHP 7.2) with 'spl_autoload_register'. 2017-05-27 10:52:16 -05:00
colors.php remove some redundant php closing tags 2017-04-26 20:24:18 +03:00
controls.php ccache, misc: fixes 2017-12-01 19:42:02 +03:00
crypt.php remove some redundant php closing tags 2017-04-26 20:24:18 +03:00
db-prefs.php remove some redundant php closing tags 2017-04-26 20:24:18 +03:00
db.php remove some redundant php closing tags 2017-04-26 20:24:18 +03:00
errorhandler.php remove some redundant php closing tags 2017-04-26 20:24:18 +03:00
feedbrowser.php feedbrowser: PDO 2017-12-01 14:56:27 +03:00
functions.php Add proper support for proxies 2018-01-14 00:30:22 +01:00
login_form.php merge login form css into default.css 2017-12-10 22:51:39 +03:00
sanity_check.php installer: use PDO, improve wording for some notices 2017-12-10 09:20:52 +03:00
sanity_config.php remove pubsubhubbub: dead 2017-05-16 10:41:20 +03:00
sessions.php sessions: PDO 2017-12-01 14:48:23 +03:00
version.php update version static for css & db changes 2017-12-03 13:38:25 +03:00