diff options
| author | 2015-07-12 15:53:40 +0200 | |
|---|---|---|
| committer | 2015-07-12 15:53:40 +0200 | |
| commit | 2c6bc849e09644f62b791ffe4779bfdcc34e5a80 (patch) | |
| tree | 044c74862400db6c44252f894c5f4cc67b9f6fa2 /data | |
| parent | da51fd97881792acb328e6e2338f53434e2e97cb (diff) | |
| parent | 26ed0e5c9571dfdaac22f147bda793cc25c9e661 (diff) | |
Merge branch 'curlOptions' of https://github.com/Alkarex/FreshRSS into Alkarex-curlOptions
Diffstat (limited to 'data')
| -rw-r--r-- | data/config.default.php | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/data/config.default.php b/data/config.default.php index 97085df29..9a3ec87d7 100644 --- a/data/config.default.php +++ b/data/config.default.php @@ -1,7 +1,7 @@ <?php -# Do not modify this file, which is only a template. -# See `config.php` after the install process is completed. +# Do not modify this file, which defines default values, +# but edit `config.php` instead, after the install process is completed. return array( # Set to `development` to get additional error messages, @@ -79,6 +79,21 @@ return array( ), + # Options used by cURL when making HTTP requests, e.g. when the SimplePie library retrieves feeds. + # http://php.net/manual/function.curl-setopt + 'curl_options' => array( + # Options to disable SSL/TLS certificate check (e.g. for self-signed HTTPS) + //CURLOPT_SSL_VERIFYHOST => 0, + //CURLOPT_SSL_VERIFYPEER => false, + + # Options to use a proxy for retrieving feeds. + //CURLOPT_PROXYTYPE => CURLPROXY_HTTP, + //CURLOPT_PROXY => '127.0.0.1', + //CURLOPT_PROXYPORT => 8080, + //CURLOPT_PROXYAUTH => CURLAUTH_BASIC, + //CURLOPT_PROXYUSERPWD => 'user:password', + ), + 'db' => array( # Type of database: `sqlite` or `mysql`. |
